I made this character in Blender and exported it as a .FBX file. The animations didn’t show up so I switched the rigging to humanoid and now I can see the animations in the inspector. When I try to put the model in the scene, the model doesn’t play any animations. I added the animation component and selected the animations that the character can play. I even made this script to try and get the animations to play:
var animationToPlay : String;
function Update(){
animation.Play(animationToPlay);
}
I can’t think of anything else that could be causing it not play. When I add that script, the console says that the animation can’t be found.
If you’re using the Animation component, you need to import the rig as Legacy.
If you import the rig as Humanaoid, you need to use an Animator component (Mecanim) and an Animator Controller. You can’t use animation.Play().
Assuming that you’re using the legacy animation system (and not Mecanim):
Open the Animation view window (Window > Animation). Select your character. Then select an animation clip from the drop-down menu. This will allow you to view (and edit) the animation curves defined on each bone.
If you see “Clean Up Leftover Curves,” then for some reason your imported model’s skeleton doesn’t match the skeleton defined in the animation clip.
Otherwise, you can press the play button to play the animation clip your character in-editor.