Search Unity

build size still 100% although I deleted almost all parts of the FBX file

Discussion in 'Editor & General Support' started by wm-VR, Nov 14, 2019.

  1. wm-VR

    wm-VR

    Joined:
    Aug 17, 2014
    Posts:
    123
    Hey there,

    I bought an asset containing 12 low-poly characters in one single FBX file. You basically just have to activate/deactivate the branch of models or parts you need/don't need and go for it. When I compile the game to webGL it seems the whole FBX file is part of the build which heavily affects the build size as well. (not just the parts remaining in the hierarchy I need, I delete the rest I did not need)

    Is there a workaround to tell unity just to use the two characters I want in my scene and not to compile the whole FBX File? I am strictly limited to 50MB.

    Thanks in advance
     
  2. Moonjump

    Moonjump

    Joined:
    Apr 15, 2010
    Posts:
    2,572
    Make a copy of the fbx, open it in Blender and remove the other characters.

    Also, you might suggest to the asset creator that they split the characters into separate files.