bevy/crates/bevy_scene
Carter Anderson f3b2139e92
Only despawn scene entities still in the hierarchy (#17938)
Fixes #17883

# Objective + Solution

When doing normal scene root entity despawns (which are notably now
recursive), do not despawn instanced entities that are no longer in the
hierarchy.

(I would not classify this as a bug, but rather a behavior change)

## Migration Guide

If you previously relied on scene entities no longer in the hierarchy
being despawned when the scene root is despawned , use
`SceneSpawner::despawn_instance()` instead.
2025-02-22 01:53:08 +00:00
..
src Only despawn scene entities still in the hierarchy (#17938) 2025-02-22 01:53:08 +00:00
Cargo.toml Bump to uuid 1.13.1 and enable js on wasm targets (#17689) 2025-02-05 06:05:32 +00:00
LICENSE-APACHE Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
LICENSE-MIT Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
README.md

Bevy Scene

License Crates.io Downloads Docs Discord