Search Unity

  1. We've closed the job boards. If you're looking for work, or looking to hire check out Unity Connect. You can see more information here.
    Dismiss Notice
  2. Check out our Unite Austin 2017 YouTube playlist to catch up on what you missed. More videos coming soon.
    Dismiss Notice
  3. Unity 2017.2 is now released.
    Dismiss Notice
  4. The Unity Gear Store is here to help you look great at your next meetup, user group or conference. With all new Unity apparel, stickers and more!
    Dismiss Notice
  5. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice
  7. Unity 2017.3 beta is now available for download.
    Dismiss Notice

FBX import from Maya crashes/uses tons of memory on Unity import

Discussion in 'Editor & General Support' started by ShaunKime, Apr 13, 2012.

  1. ShaunKime

    ShaunKime

    Joined:
    Apr 19, 2011
    Posts:
    7
    We're using Unity 3.4.2f3 to import a skinned character from Maya. Importing the file will crash some Unity machines and just eat up around 2 GIGS of RAM and take 15+ minutes on other machines. Simply changing the FBX export options to not export animations took the import time down to less than 5 seconds. Just thought that I'd share in case others have similar problems.
     
  2. ericksson

    ericksson

    Unity Technologies

    Joined:
    Oct 31, 2009
    Posts:
    80
    I believe the animation import times have been optimized/reduced in Unity 3.5.1. Update to this latest version of Unity and see if it improves the situation. Otherwise, submit a bug report with your Maya files attached.
     
  3. themadme

    themadme

    Joined:
    Sep 14, 2012
    Posts:
    17
    Hi there,

    Was this issue ever resolved. We are getting some problems when importing new fbx files. We get the following error message "ImportFBX Errors: An error occurred while importing ...."

    Recently we have updated our mesh and skeleton for out character and exporting fbx files that are about 2MB. When they get imported to unity we notice that the memory of unity editor increases unto 2 to 3Gigs!!!

    I'm guessing there is a memory leak, where unity is caught in some sort of loop allocating memory or something along the lines, perhaps something to do with the bones of the character.

    Has there been known issue about this before?

    Any ideas what could be the problem, thanks
     
  4. ShaunKime

    ShaunKime

    Joined:
    Apr 19, 2011
    Posts:
    7
    We found the best approach was to disable animation export from Maya. In this case our character didn't have animations (and we didn't need them even if they did).
     
  5. themadme

    themadme

    Joined:
    Sep 14, 2012
    Posts:
    17
    Thanks ShuanKime for the reply :)

    We have found another solution.

    The model we try to export contains a body mesh, eyes mesh and a tongue mesh with bones. Previously we just selected the box for baking when exporting the model which worked fine before we updated the mesh and skeleton. Now we have to manually selected all the meshes and bake them before exporting the fbx file.

    Any ideas why this is happening?