[UNITY FIX] Broken animation after death? Worry not!
💡
3
A few Unity users have reported that toggling an animator from C# breaks the animation playback. It has been fixed in:
- 2022.3.64f1
- 6000.0.52f1
- 6000.1.8f1
- 6000.2.0b6
- 6000.3.0a1
🔗 Link to Issue on Unity’s Website
The easiest way to fix this issue is to update Unity to the latest revision for your current version. However, if that’s not an option, here is a workaround to get your animations to work again after death.
AAnimationStrategy.cs Replace this method:
public void Resume() => m_animator.enabled = true;
By:
public void Resume()
{
m_animator.enabled = true;
m_animator.Rebind();
m_animator.Update(0);
}

💬 Comments (0)
Be the first to comment! Join our Discord to share your thoughts.
Want to continue the conversation?