Skip to content

example occlusion_culling crashes: Buffer with conflicting usages #22655

@mockersf

Description

@mockersf

Bevy version and features

[Optional] Relevant system information

macOS, Linux, Windows

What you did

cargo run --example occlusion_culling

What went wrong

ERROR wgpu::backend::wgpu_core: Handling wgpu errors as fatal by default

thread '<unnamed>' (15377447) panicked at /.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-28.0.0/src/backend/wgpu_core.rs:2631:18:
wgpu error: Validation Error

Caused by:
  In a CommandEncoder
    In a dispatch command, indirect:true
      Attempted to use Buffer with '' label with conflicting usages. Current usage BufferUses(STORAGE_READ_WRITE) and new usage BufferUses(INDIRECT). BufferUses(STORAGE_READ_WRITE) is an exclusive usage and cannot be used with any other usages within the usage scope (renderpass or compute dispatch).


note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_render::renderer::render_system`!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorP-CrashA sudden unexpected crashS-Needs-TriageThis issue needs to be labelled

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions