Skip to content

Fix crashes caused by stale state in hierarchy and pair cleanup #2117

Merged
SanderMertens merged 9 commits into
masterfrom
fixes
Jun 1, 2026
Merged

Fix crashes caused by stale state in hierarchy and pair cleanup #2117
SanderMertens merged 9 commits into
masterfrom
fixes

Conversation

@SanderMertens
Copy link
Copy Markdown
Owner

  • Prefab spawner cached tables kept components alive past root entity deletion at fini
  • Ordered-children tracking flag not propagated to pre-existing child tables
  • Depth propagation dereferenced already-deleted ordered children at fini
  • Reachable-id cache not invalidated when target deleted via non-fragmenting cleanup
  • ChildOf edge removal recomputed depth from ordered-children flag without a parent change
  • Prefab-parent flag on ChildOf record not updated when parent promoted to prefab
  • delete_with left dangling pairs to deleted target on prefab tables and sparse storage
  • Non-fragmenting-pair table flag forced an empty ChildOf diff that broke the reparent invariant

@SanderMertens SanderMertens force-pushed the fixes branch 7 times, most recently from 5e312ec to 726ee65 Compare May 29, 2026 23:06
@SanderMertens SanderMertens merged commit c0b0d81 into master Jun 1, 2026
140 of 141 checks passed
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.

1 participant