-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_child
error when duplicating .GLB model nodes with animations
#96246
Comments
get_child
error when duplicating .GLB model nodes with animations
Bisecting points to #91677 as the culprit, @KoBeWi This looks not related to animation, but a problem with internal nodes, while duplicating this part discards the Skeleton3D internal node for the new node: Lines 2715 to 2722 in 61598c5
Which results in a difference in child count here, Lines 2954 to 2958 in 61598c5
Commenting line 2720 preserves the internal node and stop the error but probably is not the correct fix, but at least give some idea what's going on |
Tested versions
reproducible in 4.3 stable
not reproducible in 4.2 stable
not tested in other builds
System information
Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1070 (NVIDIA; 31.0.15.5161) - Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (8 Threads)
Issue description
when attempting to duplicate() a GLB node with animations under its animation player it is unable to understand the children and produces this error
that also causes the next error in the debugger
Steps to reproduce
import a .GLB model with a animation into a scene and call the duplicate function on it
Minimal reproduction project (MRP)
glb-duplicate-test.zip
The text was updated successfully, but these errors were encountered: