Hi everyone,
I have recently run into a very annoying problem with Unity’s mecanim system I cannot seem to figure out on my own.
I have an animator setup with a bunch of states. Some of the states have no transition conditions and are instead set to have an exit time of above 1 (e.g. 5). 95% of the time this works beautifully. The state loops multiple times, then transitions to the next state. The remaining 5% of the time, the state simply gets stuck at 100% (a normalized time of 1) and does not transition although the only transition it has does not have any conditions.
Did anyone else run into this issue and if so, is there a way to fix it? I don’t really see a way to neither detect if the state got stuck nor trigger the transition manually since it has no conditions I can force.
Any help is very much appreciated!
Sincerely,
Valtaroth
EDIT:
As requested I have attached screenshots of the animator as it is stuck and the state’s only transition:
This particular transition leads to a blendtree but I have other states which transition to simple states and get stuck the same way. The similarities are the exit time above 1 and a single transition with no condition. I have never seen it happen with exit times equal to or below 1, but I require higher exit times in certain cases.
Hopefully this helps to shine more light on the issue.