bevyengine / bevyengine/bevy

Surface documentation for debug logging of system execution order

Open
#5,052 4 comments 1 reaction 0 assignees View on GitHub
A-Diagnostics A-ECS C-Docs
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## What problem does this solve or what need does it fill?

System evaluation order in Bevy is deliberately nondeterministic if unspecified.

This can be quite challenging to debug.

## What solution would you like?

Add opt-in `info!` level logging to the [parallel executor](https://github.com/bevyengine/bevy/blob/main/crates/bevy_ecs/src/schedule/executor_parallel.rs).

This should probably be controlled via a feature flag.

## What alternative(s) have you considered?

Add logging statements to the systems of interest. This doesn't work effectively when the systems in question are external.

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.