[SOLVED] Animation export from Maya 2011 to Unity 2.6

Hello,

I’m discovering Unity, and I’m trying to export an animation from Maya 2011 to Unity.

I create a sphere in Maya. I create two joints, which are positionned inside the sphere. I do a smooth bind. At frame 1, I key the x,y and z rotation. At frame 25, same thing.
So, from frame 1 to 25, my sphere rotates a bit. That’s my animation.

In Maya, I choose Export All. Export as FBX, in the Assets folder of my Unity Project folder.

In Unity, the sphere and the joints are in the project folder. I can drag them to the hierarchy.
BUT no animation ! Nothing in the inspector, even when I “add” a new line under Split Animations.

What am I doing wrong ?

Thank you.

In the maya’s script editor apply the following lines and try again :

FBXResetExport;

It could also be a scale issue… but do you have the animation node once imported in Unity?
If you didn’t gave a name when exporting the FBX from Maya it should be called “take001” in Unity.

I executed this line of code successfully, but it didn’t help :frowning:

My FBX file is named Test.fbx

When I import this file in Unity, I get a new icon named Test (looks like a prefab) in my Project Window. When I click to expand this icon, two others icons appear : Sphere and Joint1.
All of these have an animation component in the inspector.

Animation component specifies :
Animation : none (Animation Clip). (also when I drag Test to the Scene view)
Animations : Size 0

“Animations” in (FBXImporter) indicates nothing special. Split Animations is checked, that’s all.

Thank you.

Sorry to post again but I’ve solved the problem !! :smile:

Listen. When you export from Maya 2011 (FBX format), in the Export window, in the Options column on the right go to “FBX File Format” and select Version : FBX 2010.
Mine was set to FBX 2011, and it didn’t work …

Hope this will help !