The 3D artist on my team created a model with animations in Max and exported it as an FBX. I can import the FBX into Unity without a hitch. However, when I try to import the FBX into Unity iPhone the program crashes. When I restart the program, only the textures from the model have been imported. I’m running Unity iPhone version 1.01 on a Intel Mac running OS X Leopard 10.5.6. Does anyone have any idea as to what is happening? Why won’t this work?
are you using any fbx specific stuff, like bones? (fbx specific as in fbx is the only format unity supports doing it) if not, try some other format (.obj) and report a bug. what i had problems once, was negative uv coordinates, but your problems can have many reasons.
Unity iPhone is a fork off of the Unity 2.1 code base, which uses the 2006.11 FBX SDK. Please make sure you are exporting your FBX files with the 200611 file format and not 200900
I’m using C4D 11 not Max but, Unity iPhone routinely crashes on me when I try to import a FBX file with no material assigned to the mesh OR with a material that does not have a texture assigned in the color channel.
Can you open your FBX file and see if it is ASCII? If it is ASCII can you see what version number is in there? It’s possible that C4D R11 is writing out a newer version of the FBX format. If that is the case, then you may need to use the FBX Converter utility from Autodesk to convert those files to a 200611 file format. Can you specify the file format from the C4D FBX exporter? Also, is there an earlier exporter that you can revert to?
The FBX I originally tried to import was the wrong format (FBX 200900). We created a new FBX file in the FBX 2006.11 format. I tried to import the file into Unity iPhone again but the exact same thing happened. The program crashed. When I relaunched, only the materials existed.
That’s interesting… I’m going to check with our artist about this.
Well, when a new version of Unity iPhone is released with Unity 2.5 changes (or whenever all of it is merged back – whichever comes first), then it will get the same FBX update. However, since that doesn’t help you now, please submit a format bug report and attach your FBX file that is crashing (200611 file format version). Please list my name in the bug report and/or PM me with the case number.
Before Unity 2.5 was released I was unable to import FBX files created with a custom exporter that was written with latest FBX SDK. But I was able to work around it by downloading the FBX Converter from Autodesk and downconverting the file to an older version, and then was able to import it into Unity. That was the desktop version of Unity, but I imagine that process might work with Unity iPhone, too.
Here’s the link for the Mac version of the converter:
@lesfundi: It depends. Does it crash Unity? Does it work? Does XSI have any other versions of their FBX exporter available? If it doesn’t work, then you might want to try a older version for Unity iPhone or a newer version for Unity Desktop.
i can import it but logged a case today because the animation plays not okay,
when i split the animation in session based on my frames in xsi, but the animations are unity.
like on frame 4 my object is in a certain pose but in unity is like on fram 5, but than frame 10 in xsi is on frame 9 in unity, … I am stuck