1. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice
  2. We're looking for feedback on Unity Starter Kits! Let us know what you’d like.
    Dismiss Notice
  3. We’re giving 2017.1 beta testers a chance to win t-shirts and a Nintendo Switch. Read more on the blog.
    Dismiss Notice
  4. Unity 2017.1 beta is now available for download.
    Dismiss Notice
  5. Unity 5.6 is now released.
    Dismiss Notice
  6. Get further faster with the Unity Plus Accelerator Pack, free for new Unity Plus subscribers for a limited time. Click here for more details.
    Dismiss Notice
  7. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  8. Learn how you'll soon be able to publish your games to China in four simple steps with Xiaomi. Sign up now for early access.
    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?