Add a `detect_cyclic_traversal` debug feature to `bevy_ecs`
Open
A-ECS
C-Usability
D-Straightforward
S-Needs-Review
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
> Follow-up: I reckon a `detect_cyclic_traversal` debug feature could be nice. Internally just keep an `EntityHashSet` and `panic!` when a cycle is detected.
_Originally posted by @bushrat011899 in https://github.com/bevyengine/bevy/pull/17463#discussion_r1922968280_
Contributor guide
Assessment
This issue has not been assessed yet.