I can't get my animations running on a GameObject

Hi.

I’ve imported models with animations from Maya (2009, .mb). I have the latest FBX Exporter.

I’ve set the animations by setting the frames.

If I just drag the model out to the scene, the animation works. But when the animation/model is on a gameObject (like an enemy) it doesn’t animate.

I’ve set the animation and cycle in the gameObject. I’ve tried having both as loop and not.
I’ve tried having it “play automatically” and I’ve tried just having “animation.CrossFade(“run”);” in the Update().

I get no warnings nor errors in the console.

Any idea of what I might do wrong?

You could actually end up starting the animation every frame if your activate it from an update function.

I thought so to, but it is set in the Update in the resources on Unity. And even without the code, and “play automatically” it’s the same result.