Crash, when body collides with just despawned entity
With the following reproduction:
https://github.com/sphinxc0re/avian_06_bug_repro
Just run `cargo run`.
The game crashes and the following error is thrown:
```
thread 'Compute Task Pool (1)' (123574) panicked at /[REDACTED]/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/avian2d-0.6.0-rc.1/src/collision/broad_phase/bvh_broad_phase.rs:229:52:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `Enable the debug feature to see the name`!
Encountered a panic in system `Enable the debug feature to see the name`!
Encountered a panic in system `Enable the debug feature to see the name`!
Encountered a panic in system `Enable the debug feature to see the name`!
Encountered a panic in system `Enable the debug feature to see the name`!
```
0 条评论