Make system stepping a runtime setting instead of a compile-time feature

Open
#26,326 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
backend, devtools

Research direction

Start by reading the stepping feature and handlers in bevy_ecs and bevy_remote, then trace how bevy_inspector invokes them. The issue suggests moving stepping to a runtime setting and possibly grouping dev-only ECS features, but leaves the design open. Done means remote clients can use stepping without enabling it for the whole app, with the runtime and release-build behavior agreed and covered.

Written by the indexing model from the issue text.

Description

A-Dev-Tools A-ECS D-Modest S-Needs-Design X-Contentious

System stepping is controlled by the bevy_debug_stepping feature, which turns stepping on for the whole app. Because bevy_remote gates its stepping methods behind the same feature, a remote client like the inspector could only use them by enabling stepping in its own app (#26200 now keeps only the handlers gated).

Stepping should probably be a runtime setting, maybe as part of a set of dev-only ECS features that can be turned off in release builds to reduce attack surface and binary size. This touches bevy_ecs, bevy_remote and bevy_inspector.

Raised by alice-i-cecile on #26200.

Dominant language
Rust
Stars
49.8k
Forks
5.1k
Avg merge
3d 4h
Merged PRs (30d)
136

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bevyengine/bevy

All issues in bevyengine/bevy

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.