I hope someone can help me with this, as I’ve searched extensively but can’t find anything in Unity documentation or right here in the Unity community that sheds any light on the issue.
I’ve been working on my game for many months now, but I foolishly had neglected to run regular tests in the build version, only in the editor.
And everything works 100% fine in the editor, but I’m getting really weird results in the build versions (PC and Android).
My game’s main character is animated by mecanim, and uses several animations to function throughout the game.
But when I run the build(s), he only undergoes the idle animation, even when he’s supposed to run, punch, shoot, etc.
The really strange thing is that the root motion for the animations is performed correctly, even though he’s only swaying a little back and forth.
For example, when he’s supposed to run, he only sways back and forth in his animation, but the model moves forward as if the correct animation was playing. Ditto for the lunging punches, etc.
And again, this only happens in the build versions–in the editor everything works fine, as he’s running and punching and shooting and falling over, etc.
This occurs with both Unity 5.6 and 2017.1 (the only two versions I’ve tested this with).
It would be wonderful if someone could help me solve and fix this mystery, or at least point me in the right direction.
Thank you so much!