Skip to content

Fix MeshInstance3D not reattaching skeleton after switching World3D#116781

Open
adamwych wants to merge 1 commit intogodotengine:masterfrom
adamwych:fix-meshinstance3d-losing-skeleton-ref
Open

Fix MeshInstance3D not reattaching skeleton after switching World3D#116781
adamwych wants to merge 1 commit intogodotengine:masterfrom
adamwych:fix-meshinstance3d-losing-skeleton-ref

Conversation

@adamwych
Copy link
Contributor

VisualInstance3D detaches the skeleton after receiving NOTIFICATION_EXIT_WORLD:

case NOTIFICATION_EXIT_WORLD: {
RenderingServer::get_singleton()->instance_set_scenario(instance, RID());
RenderingServer::get_singleton()->instance_attach_skeleton(instance, RID());
_set_vi_visible(false);
} break;

But MeshInstance3D attaches it only when it enters the tree, not if the world is changed.

@adamwych adamwych requested a review from a team as a code owner February 25, 2026 23:57
@Nintorch Nintorch added this to the 4.x milestone Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants