Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Best way to reduce size of FBX files?

Discussion in 'General Discussion' started by Rajmahal, Aug 8, 2014.

  1. Rajmahal

    Rajmahal

    Joined:
    Apr 20, 2011
    Posts:
    2,101
    I'm working on optimizing my current game project and the biggest things seem to be animations and fbx files. I'm using Legacy animation. What's the best way to reduce this footprint in the game download and memory size? Should I remove / delete the animations that I'm not using? If so, do I just remove them from the list of animations or do I have to actually delete them? Also, if I use a tool like Cruncher to reduce the polygon count of an FBX file, does that also reduce the size of the related game object in RAM and in the size of the final build?
     
  2. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,789
    Reducing polycount will bring down the RAM footprint. If you use Mecanim there is an optimize button that will remove extraneous bones from the rig and you will not have to load the retargeted animations meshes either.
     
  3. Rajmahal

    Rajmahal

    Joined:
    Apr 20, 2011
    Posts:
    2,101
    Cool ... thanks. I'll definitely go through and do some heavy polygon reduction. I'm using Legacy unfortunately. I did try and delete some unused animations from the FBX and that seemed to have a good result. So I'll do both polygon crunching and deleting animations and see how that goes.

    Do you know if there's any way in Unity to have it convert all wav files to MPEG or change all of them to "Stream from Disc" rather than load into memory? Changing that option one at a time is really painful.
     
  4. ippdev

    ippdev

    Joined:
    Feb 7, 2010
    Posts:
    3,789

    I think you can multi-select and hit the buttons for whatever.
     
  5. Rajmahal

    Rajmahal

    Joined:
    Apr 20, 2011
    Posts:
    2,101
    nope ... unfortunately mult-select is enabled for audio file settings.