## Objective
This code would result in a crash:
```rust
use bevy::prelude::*;
fn main() {
let mut world = World::new();
let child = world.spawn().id();
world.spawn().push_children(&[child]);
}
```
## Solution
Update the `EntityMut`'s location after inserting a component on the children entities, as it may have changed.
|
||
|---|---|---|
| .. | ||
| components | ||
| hierarchy | ||
| lib.rs | ||
| transform_propagate_system.rs | ||