diff --git a/crates/bevy_app/src/app.rs b/crates/bevy_app/src/app.rs index da36f8fcf9717..1a82e04ec4ed6 100644 --- a/crates/bevy_app/src/app.rs +++ b/crates/bevy_app/src/app.rs @@ -96,6 +96,7 @@ impl SubApp { /// run the `SubApp`'s schedule pub fn run(&mut self) { self.app.schedule.run(&mut self.app.world); + self.app.world.clear_trackers(); } /// extract data from main world to sub app