AnimationPlayer track suddenly changes its reference to the wrong Sprite2D

Godot Version

Godot 4.5

Question

Hello! I am having issues with my animation system, as an AnimationPlayer track keeps changing the reference to the incorrect Sprite2D at seemingly random instances. I cannot understand why this happens, as it works fine for a few hours/days, and then suddenly I notice that the animations are all messy, because the AnimationPlayer track decided to change its reference to the wrong Sprite2D (see images below).

For context, during a specific player state, I split the player body into two sprites and use an Add2 in a BlendTree to animate both simultaneously, which works totally fine usually. However, this weird and annoying misreferencing has happened a few times now, and I’m starting to wonder if it’s a bug in Godot? Does this problem seem familiar to anyone?

Here is my scene tree:

Here is the INCORRECT AnimationPlayer track, somehow deciding to reference BodySprite instead of UpperBodyAimer:

Here is the correct AnimationPlayer track, which works properly for a good while before randomly switching to the incorrect reference:

I’ve never heard about AnimationPlayer changing references without a cause.

Do you use git?
If not, you should.
If yes, you should be able to see the changes and review them before you commit. This would also help you identify when it happens, e.g. only when you do something specific.