bevy/crates/bevy_ecs/src
SpecificProtagonist d6e6814ac3 Fix SimpleExecutor crash (#12076)
# Objective

Since #9822, `SimpleExecutor` panics when an automatic sync point is
inserted:

```rust
let mut sched = Schedule::default();
sched.set_executor_kind(ExecutorKind::Simple);
sched.add_systems((|_: Commands| (), || ()).chain());
sched.run(&mut World::new());
```
```
System's param_state was not found. Did you forget to initialize this system before running it?
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_ecs::schedule::executor::apply_deferred`!
```

## Solution

Don't try to run the `apply_deferred` system.
2024-02-27 17:17:54 +01:00
..
entity Move EntityHash related types into bevy_ecs (#11498) 2024-02-12 15:02:24 +00:00
identifier Unified identifer for entities & relations (#9797) 2024-01-13 01:09:32 +00:00
query Replace pointer castings (as) by their API equivalent (#11818) 2024-02-11 23:19:36 +00:00
reflect Move EntityHash related types into bevy_ecs (#11498) 2024-02-12 15:02:24 +00:00
schedule Fix SimpleExecutor crash (#12076) 2024-02-27 17:17:54 +01:00
storage Double the capacity when BlobVec is full (#11167) 2024-01-22 15:05:34 +00:00
system Fix SystemTypeSet::system_type being out of sync with System::type_id (#12030) 2024-02-27 17:17:54 +01:00
world Use question mark operator when possible (#11865) 2024-02-14 18:44:33 +00:00
archetype.rs Make Archetypes.archetype_component_count private (#10774) 2024-02-03 00:07:50 +00:00
bundle.rs Fix small docs misformat in BundleInfo::new (#11855) 2024-02-13 22:14:05 +00:00
change_detection.rs Mention Resource where missing from component/resource related type docs (#11769) 2024-02-08 06:31:48 +00:00
component.rs Mention Resource where missing from component/resource related type docs (#11769) 2024-02-08 06:31:48 +00:00
event.rs Fix bug where events are not being dropped (#11528) 2024-02-02 21:14:54 +00:00
lib.rs Use TypeIdMap whenever possible (#11684) 2024-02-03 23:47:04 +00:00
removal_detection.rs Docs reflect that RemovalDetection also yields despawned entities (#11795) 2024-02-10 11:18:05 +00:00