Animation does not loop no matter what I do

Im trying to loop an animation for one of my npcs, but it does not loop. I have enabled it both in the editor and with script and it still does not loop. It only plays once. I have looked at other threads but they only contain solutions I have already tried (enabling it in the editor.)

Have you looked at the animations type?

The three types are:
Core - Stops when a person moves or another is played. Not Recommended.
Idle - Yields to everything but Core. Recommended for standing animations.
Movement - Yields to action type animations. Recommended for walking type animations.
Action - Yields to other action type animations. Recommended for punching or etc type animations.

I tried setting the animation type to all levels, but the same issue occurs. It plays the animation once, then tweens to the normal dummy pose