- Home /
Mecanim Animation Gets Stuck
We have an issue that occurs rarely and is difficult to reproduce but is game-breaking.
Essentially we have a user control that can be disabled by our enemies. When the enemy disables the control, it sets a float that is passed to a blend tree, which in turn selects a different type of visual effect animation. At the end of the animation, we have an animation trigger that calls back to the control to re-enable it.
The issue crops up when the state machine is in the disabled state, but the animation itself is not playing. This means the enable trigger never fires and therefore deadlocks the control permanently.
We have created a sandbox scene to help debug this issue but so far cannot reproduce it (only happens in the heat of the moment during gameplay)
We have put in specific checks to ensure that the animation doesn't play if it's currently playing but the issue still persists.
Does anyone have any experience with a animation that is stuck in a state but does not play the actual animation ?
Thank you
I have a same experience even in 5.6.0p4! I tried to refactor my logic but it didn't work well. Animator gets stuck in one state with no frame progression..
Your answer
Follow this Question
Related Questions
Animation state not transitioning at 100% 1 Answer
Why does this animator appear to occupy two states, but report only one? 0 Answers
Accessing AnimationState in Animator 0 Answers
How to stop an default animation from playing? 1 Answer
Animation works, pathfinding works, but they don't work together. 1 Answer