Im making a UI where buttons slide in from the side and slide out again when going to the next scene. Every scene gets loaded and added to the tree with the slide in animation, after the previous scene is removed (queue_free()
) from the tree (after it's slide out animation has finished).
For some reason when coming from inside the "game menu" (aka 'pause -> main menu' or 'pause -> settings') none of the animations actually play. I debugged and the animation player gets the call to play the correct animation but it still doesn't actually play. What could be the issue? Or could this be an underlying bug?
Scene setup:

Animation demo:

Animation code:

Runtime tree:

Output:
(Ignore the two first zeros in the output, they're not related)