Skip to content

shader_prepass example panics #7879

@rparrett

Description

@rparrett

Bevy version

main
bisected to #7784

Relevant system information

AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
SystemInfo { os: "MacOS 13.1 ", kernel: "22.2.0", cpu: "Apple M1 Max", core_count: "10", memory: "64.0 GiB" }

What you did

cargo run --example shader_prepass

What went wrong

thread 'Compute Task Pool (1)' panicked at 'Resource requested by bevy_pbr::render::light::queue_shadows<shader_prepass::PrepassOutputMaterial> does not exist: bevy_pbr::prepass::PrepassPipeline<shader_prepass::PrepassOutputMaterial>', /Users/me/src/bevy/crates/bevy_ecs/src/system/system_param.rs:454:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'Compute Task Pool (2)' panicked at 'Resource requested by bevy_pbr::render::light::queue_shadow_view_bind_group<shader_prepass::PrepassOutputMaterial> does not exist: bevy_pbr::prepass::PrepassPipeline<shader_prepass::PrepassOutputMaterial>', /Users/me/src/bevy/crates/bevy_ecs/src/system/system_param.rs:454:17
thread 'Compute Task Pool (1)' panicked at 'A system has panicked so the executor cannot continue.: RecvError', crates/bevy_ecs/src/schedule/executor/multi_threaded.rs:194:60
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', /Users/me/src/bevy/crates/bevy_tasks/src/task_pool.rs:371:49
thread 'Compute Task Pool (1)' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', crates/bevy_render/src/pipelined_rendering.rs:136:45
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /Users/me/src/bevy/crates/bevy_tasks/src/task_pool.rs:371:49

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions