You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But, when combining the AnimationPlayer with an AnimationTree, the AnimationTree may store duplicates of the very same AnimationLibrarys for seemingly no reason. This happens specifically when the AnimationTree comes from an inherited or otherwise editable scene.
Note that editing the duplicate AnimationLibrarys works only temporarily and they WILL be overridden by the original source (the AnimationPlayer).
This is especially bad in any actual project because you may have many, many animations. It's beyond awful if your animations are imported from GLTF because-
It seems like #85575 (@TokageItLab) would solve this, but more testing may be required to prevent it from spectacularly back-firing in some yet another unforeseen circumstance.
Steps to reproduce
Create a scene with an AnimationPlayer and at least one animation;
Create an inherited scene from this one, and add an AnimationTree;
Associate the AnimationTree with this AnimationPlayer;
Look at the saved .tres files. You may notice that both the inherited scene also contains the animations for no reason.
Godot version
v4.2.stable.official [46dc277]
System information
Windows 10
Issue description
As previously mentioned on RocketChat.
Good, now AnimationMixer exists.
But, when combining the AnimationPlayer with an AnimationTree, the AnimationTree may store duplicates of the very same AnimationLibrarys for seemingly no reason. This happens specifically when the AnimationTree comes from an inherited or otherwise editable scene.
Note that editing the duplicate AnimationLibrarys works only temporarily and they WILL be overridden by the original source (the AnimationPlayer).
This is especially bad in any actual project because you may have many, many animations. It's beyond awful if your animations are imported from GLTF because-
It seems like #85575 (@TokageItLab) would solve this, but more testing may be required to prevent it from spectacularly back-firing in some yet another unforeseen circumstance.
Steps to reproduce
.tres
files. You may notice that both the inherited scene also contains the animations for no reason.Minimal reproduction project
AnimationTree Duplication.zip
The text was updated successfully, but these errors were encountered: