mirror of
https://github.com/bevyengine/bevy
synced 2024-12-22 02:53:07 +00:00
c9e32858d7
# Objective Fixes #12402 ## Solution Use `despawn_recursive` instead of `despawn` for despawning `PlaybackMode::Despawn` audio. ## Migration Guide `PlaybackSettings::DESPAWN` (`PlaybackMode::Despawn`) now despawns the audio entity's children as well. If you were relying on the previous behavior, you may be able to use `PlaybackMode::Remove`, or you may need to use `PlaybackMode::Once` and manage your audio component lifecycle manually. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
CONTRIBUTING.md |