-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Hierarchy example panics after a second or two #3321
Comments
Oops, fork was a bit out of date. Re-testing on latest main. |
Is it normal behavior for Should this example use I'm a bit confused by this test, which is doing some despawning, but then seemingly not asserting anything particularly interesting afterwards. |
Yup, This is one of the case not matched by the hierarchy maintenance, the child entity has been removed but we have no knowledge of it's parent before, so we can't clean it from the
|
This isn't a super major issue, so I'm happy to pass on it if we want to slap |
Thanks @cryscan |
# Objective Fixes bevyengine#3321 ## Solution Uses `despawn_recursive()` instead of `despawn()` when removing children.
Bevy version
Latest bevy main (post-new-renderer) (ffecb05)
Latest bevy main pre-new-renderer (de8edd3)
Also this random commit (94db017)
Operating system & version
m1 mac (macos 12)
What you did
cargo run --example hierarchy
orcargo run --example hierarchy --release
What actually happened
The example runs for two seconds and then panics
Additional information
The text was updated successfully, but these errors were encountered: