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

Aperta
#26,326 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
backend, devtools

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
49.7k
Fork
5k
Merge medio
3g 19h
PR unite (30g)
134

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di bevyengine/bevy

Tutte le issue di bevyengine/bevy

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.