Does your NPC have an animation component?
I think it needs one if you're using animation.play or .crossfade.
It must have those animations attached to it.
↧