Unable to use .FBX file's animations in Unity3D

Hello,

So I have a model, which in 3ds Max has all these cool animations. So now I want to use these animations inside of Unity, but for some reason I’m having trouble here.

I exported it from 3ds Max, including the animation. And inside of Unity it is shown that the model has an animation with 650 frames, which is the same as in 3ds Max. So I divided the animations into different clips like so:

alt text

The animations all look fine in the preview and so I now have my model with the animations. Now I put the model into the scene and add everything I want to add to the animation like I do here:

alt text

Now what I want to do is:

		if (distFromPlayer.magnitude < 30){
			transform.rotation = Quaternion.Slerp(gameObject.transform.rotation, Quaternion.LookRotation(player.position - transform.position), 0.08f);
			animation.Play("growl");
		}

But the error I’m getting is “The animation state ‘growl’ could not be played because it couldn’t be found! Please attach an animation clip with the name ‘growl’ or call this function only for existing animations”.

What am I missing here?

Thanks in advance!

Try this: Under the “Rig” tab (from your window above), choose “Legacy” as the Animation Type.

Alex

Problem solved after looking at this thread: http://forum.unity3d.com/threads/179220-Animation-State-Could-Not-Be-found
No idea why it is like this, but it works.