System Ordering Debugging? #5067
-
Hello! Is there a convenient way to print or see what the current system ordering is? Or simply some way to debug based on the ordering that Bevy chooses to run its systems in, I'm not picky! I've tried looking around, but all I've found is some fairly major ideas threads about reworking the way systems work, so I'm not certain what the current status is. I currently have a problem where my project appears more jittery or unstable from one run to the next. Sometimes it runs very well, and I am attempting to figure out which ordering of the systems gives me that performance so that I can know which systems I need to enforce an ordering on using I've ordered many of my systems based on what I can deduce about how the code should work, but I can't see how any of my remaining unordered systems should affect jittering, so I'd like to be able to look at the system ordering during the "good" runs to help me find the mistake I am making. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can use https://docs.rs/bevy/latest/bevy/ecs/schedule/struct.ReportExecutionOrderAmbiguities.html to detect systems that should potentially be ordered. Also you can use tracing to see the actual execution order. https://github.com/bevyengine/bevy/blob/main/docs/profiling.md |
Beta Was this translation helpful? Give feedback.
You can use https://docs.rs/bevy/latest/bevy/ecs/schedule/struct.ReportExecutionOrderAmbiguities.html to detect systems that should potentially be ordered.
Also you can use tracing to see the actual execution order. https://github.com/bevyengine/bevy/blob/main/docs/profiling.md