Animation get stuck after multiple calls

Hi!

I’m getting stuck with this issue.
I have a “hurt” state animation that is called when an enemy hit the player and it’s disabled when the last frame calls an event “disableAnimation()”. It works fine at the begining, but when multiple enemys hit me, sometimes, the animation get stuck with the blue bar full.

5318913--535086--upload_2019-12-27_18-48-4.png

I don’t know why it is happening and why the event to disabled the animation is not working in this case.

Regards

Checking animation properties values in “LateUpdate()” function seems to fixe the issue.

Hi Refurfura,

I’m currently experiencing the same issue. How exactly do i check the animation properties in LateUpdate() function?

If you could provide some details on this i would greatly appreciate it.