Description
Godot version:
3.1.1
Issue description:
When instancing a scene which inherits from a scene with an AnimationPlayer
, any changes to animations and animation tracks will affect all instances, including deleting animations. This also applies to copied-and-pasted animations and tracks across disparate scenes.
This referencing behavior may be considered unexpected to users, as the default behavior of other node properties is typically local-but-inherited and the Animation
s' appearance as a reference is obfuscated from the inspector view without explicitly opening it from the animation tab. This behavior also occurs when copying and pasting animations across non-inherited scenes, including the deletion of whole Animation
s and tracks.
I was meaning to post an issue about this a few months ago when I accidentally nuked a few animations in a game jam due to the byRef copy-paste behavior, but this behavior also occurs on testing with inherited scenes.
Possible workaround: Open each animation in the base scene's AnimationPlayer and set its local_to_scene value to true. This workaround has been untested with copy-pasted animations.
Activity