FBX animations are cut off

I made an animation in Maya. I exported it as an FBX file and brought it into Unity. Now the last few frames are cut off. This is especially bad because the animation is meant to loop. What’s going on here? I’m using Maya 2015 and Unity 5.

I had the same problem. It may could help if you change the “Animations” settings of your exported Prefab. Select your Prefab - go to “Animations” - and set “Anim. Compression” to “Optimal” at the selection box. Hope that helps.

Well, it turned out to be a problem with the way Maya was exporting animations into FBX files. I still haven’t figured out how to fix it, but I realized the rotate transformations were being reduced by 50%, so I doubled all of them to compensate. Wish I knew what I was doing wrong, though…