Skip to content

fix: Prevent Game Studio crash when creating prefab from entities with ModelNodeLinkComponent#3167

Open
w0wca7a wants to merge 2 commits into
stride3d:masterfrom
w0wca7a:fixes/prefab
Open

fix: Prevent Game Studio crash when creating prefab from entities with ModelNodeLinkComponent#3167
w0wca7a wants to merge 2 commits into
stride3d:masterfrom
w0wca7a:fixes/prefab

Conversation

@w0wca7a
Copy link
Copy Markdown

@w0wca7a w0wca7a commented May 12, 2026

PR Details

Fixes two NullReferenceException crashes that occur when creating a prefab from a selection that contains entities with a ModelNodeLinkComponent bound to a skeleton node.

Related Issue

fix #3165

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My change requires a change to the documentation.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have built and run the editor to try this change out.

w0wca7a added 2 commits May 12, 2026 22:48
fix exception when entity has not been re-parented yet
fix null model when CheckSkeleton() triggered.
model reference is restored later in the reconcile pass
@Kryptos-FR Kryptos-FR self-requested a review May 12, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NullReferenceException when creating prefab from selection containing ModelNodeLinkComponent

1 participant