I'm not sure if this is a bug, but I'll ask for a solution here.
I have a slime scene that attacks the player. It uses an AnimationPlayer node which contains the attack animations. The animations have tracks for AnimatedSprite:animation, AnimatedSprite:frames, and a track for disabling and enabling an Area2D's collision shapes, which are its attack areas.
The only problem comes when instancing multiple of them. When I instance multiple slimes, I get an error where the track couldn't resolve, and the AnimatedSprite and Area2D nodes weren't found.
Then they won't do their attack animation, or their animations glitch weirdly.
When I tried to restart the editor, the AnimationPlayer's animations were cleared of their tracks. I've had this problem for a while now, and I've tried saving the animations, deleting the slime instances, but the bug always happens no matter what. I want to know how to fix it.