diff --git a/crates/bevy_app/src/app.rs b/crates/bevy_app/src/app.rs index 0111e2e5b9a936..ad969a17c98f50 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