Skip to content

bevy_dev_tools causes crash #23673

@hxYuki

Description

@hxYuki

Bevy version and features

main@f4789f9f909428a8cba6a741a2c08cafe62746fb

default-feature = false

"bevy/bevy_dev_tools"

"bevy/dynamic_linking",
"bevy/bevy_ui_debug",
"bevy/track_location",
"bevy/debug"
"bevy/file_watcher",
"bevy/embedded_watcher",
"2d",
"audio-all-formats"

What you did

Enabled feature "bevy/bevy_dev_tools".

What went wrong

App crashed on run.

Additional information

thread 'main' (279573) panicked at /home/yuki/Source/bevy/crates/bevy_ecs/src/error/handler.rs:130:1:
Encountered an error in system `bevy_dev_tools::render_debug::init_render_debug_overlay_pipeline`: Parameter `Res<'_, MeshPipelineViewLayouts>` failed validation: Resource does not exist
If this is an expected state, wrap the parameter in `Option<T>` and handle `None` when it happens, or wrap the parameter in `If<T>` to skip the system when it happens.

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_dev_tools::render_debug::init_render_debug_overlay_pipeline`!
2026-04-05T10:13:40.492517Z  WARN bevy_ecs::world::command_queue: CommandQueue has un-applied commands being dropped. Did you forget to call SystemState::apply? caller:Location { file: "/home/yuki/Source/bevy/crates/bevy_ecs/src/system/function_system.rs", line: 734, column: 20 }
2026-04-05T10:13:40.492532Z  WARN bevy_ecs::world::command_queue: CommandQueue has un-applied commands being dropped. Did you forget to call SystemState::apply? caller:Location { file: "/home/yuki/Source/bevy/crates/bevy_ecs/src/system/function_system.rs", line: 734, column: 20 }
2026-04-05T10:13:40.492540Z  WARN bevy_ecs::world::command_queue: CommandQueue has un-applied commands being dropped. Did you forget to call SystemState::apply? caller:Location { file: "/home/yuki/Source/bevy/crates/bevy_ecs/src/system/function_system.rs", line: 734, column: 20 }
2026-04-05T10:13:40.492546Z  WARN bevy_ecs::world::command_queue: CommandQueue has un-applied commands being dropped. Did you forget to call SystemState::apply? caller:Location { file: "/home/yuki/Source/bevy/crates/bevy_ecs/src/system/function_system.rs", line: 734, column: 20 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Dev-ToolsTools used to debug Bevy applications.A-RenderingDrawing game state to the screenA-UIGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorP-CrashA sudden unexpected crashS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    Status

    Done

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions