AnimationPlayer not finishing and not calling animation_finished

Godot Version

4.2.2

Question

the problem is that sometimes when an animation is finished its animation_finished signal is not emited also i tried to add a method to the end of the animation but its the same problem the method dosen’t always get called ive tried everything i feel like has anyone encountered a similar problem? any help is appreciated

Edit: I fixed it by just turning on allow transition to self in the animation tree.thanks for responding

Every time that has happened to me, it has been a bug in my code.

This has happened to me. If you switch to another animation with “play” before it reaches the end of the current animation, those events will not be launched. Even according to the documentation, the animation_changed signal is not fired.

Maybe you can find answer here? https://www.reddit.com/r/godot/comments/ujo0kw/animation_finished_signal_not_firing/

If not, try to give more detailed information about how it calls, is it looping, animation duration, where it placed, when starts to play and so on :grin: