bevyengine / bevyengine/bevy

Add a `detect_cyclic_traversal` debug feature to `bevy_ecs`

Open
#17,465 1 comment 1 reaction 1 assignee Claimed by @theotherphil View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.