Unity 4 Crashing on FBX Import

I am trying to import a model from the Dexsoft Sci-Fi Corridors 2 package (map_sample.fbx), and Unity crashes with the following error:

[ ALLOC_TYPETREE ] used: 988176B | peak: 2795408B | reserved: 8388608B 
Could not allocate memory: System out of memory!
Trying to allocate: 151105666B with 4 alignment. MemoryLabel: FBXImporter
Allocation happend at: Line:443 in C:/BuildAgent/work/812c4f5049264fad/Editor/Src/AssetPipeline/FBXImporter.cpp
Memory overview


[ ALLOC_TEMP_THREAD ] used: 30736B | peak: 0B | reserved: 262144B 

[ ALLOC_DEFAULT ] used: 627551762B | peak: 761224884B | reserved: 738197504B 

[ ALLOC_GFX ] used: 1547524B | peak: 3051768B | reserved: 134217728B 

[ ALLOC_CACHEOBJECTS ] used: 63504B | peak: 1256197B | reserved: 16777216B 

[ ALLOC_PROFILER ] used: 1061384B | peak: 1061432B | reserved: 8388608B 

[ ALLOC_TYPETREE ] used: 988176B | peak: 2795408B | reserved: 8388608B

Unity 3.5.6 imports it fine on the same computer. I have another model that will cause a crash as well.

Is anyone else seeing this happen?

Hi,

Please report a bug and include the models which are crashing on import.

Thanks,
Chris

I submitted 3 bug reports on this last week. Is it possible to attach files to an existing report? I didn’t have permission to attach the model last week, but I now have permission (although Dexsoft says you guys already have the model).

Do you have a case number you can share? If you reply to the confirmation email you should of received after submitting the bug you can add attachments just like any other email.

Note: Without a repro there’s nothing we can do.

Thanks,
Chris

Here are the case numbers:

500455 Unity crashed, again Open 11/18/2012 8:45 PM
499728 I imported the Dexsoft Sci-Fi Corridors Construction Set 2 Open 11/16/2012 4:36 AM
499696 Unity crashes when opening project while importing a fbx Open 11/16/2012 1:26 AM

I will email the one model I can send later today, but you guys already have it as it is used for demo’s or something. The package that crashes Unity for 500455 is in the Asset store so you should be able to repro with that (actually, the Dexsoft model is in the Asset store too, I believe).

Thanks.

Dredging this up from the depths of last year…

…but what was the outcome here?

I’m getting this issue now and it’s on a simple (read: ‘tiny’) import of a character and its animation. I’ve already imported dozens of them and this is the first time I’m getting this error; this file is unremarkable.

Well a solution (for those that come across this on their own as I did), is to check the ‘Bake Animation’ option in the .FBX exporter to ensure the frame range is set.

Apparently, and this is where it would be helpful of Unity chimed in though I suspect it may be an FBX issue completely, is that some animations on import may report massive ranges in an otherwise simple animation. It started with out of range key errors in the console, and culminated into a 35 frame animation reporting negative frames in thousands as I attempted to scrub it.

Suffice it to say the option to only export a set range of frames is crucial.

Cheers

-Steven