When dies, only first frame on anim plays

When my player dies, the animation doesn’t play all the way through. It stops on the first frame. I’ve tried disabling colliders and death kicking before the animation plays. Any advice is appreciated.


Welcome to our community! :slight_smile:

Have you already compared your code to the Lecture Project Changes which can be found in the Resources of this lecture?

If so, click the arrows to and from the ‘Dying’ animation state in the Animator. Check the transition conditions. The animation must not be allowed to get interrupted by any condition. And you probably don’t want to transition to another state, so there must not be any arrow coming from the ‘Dying’ state.

If nothing helps, please rewatch the video and compare your settings to Rick’s. Maybe there is a little difference between your project and his.

Please let me know if this helped and if you managed to solve the problem. :slight_smile:

See also:

I had my death anim playing in Update. Adding a bool switch solved the problem

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms