My animation plays then stops.

I animated my character in Blender then imported it into Unity. I then added a character controller script to it, but when I play the scene the character animates for a few seconds then stops. What could be wrong?

In the import window, set the animation wrap mode to ‘repeat’. This should do the trick!