I've followed this tutorial to animate a body in Godot. It's using a body as an object with a sprite, a path2D and an animationPlayer.
It's working great on the scene I'm creating it but the problem start when using it in another scene.
In the example I linked, I instance the scene where my animated object is. The first instance works properly, the object is moving up and down, but the second is static. I've tried everything, making it local, setting manually the current animation of the AnimationPlayer node but nothing works.
Do you have an idea of why that occurs?
An example projet