Skip to content

Example shader/array_texture crash with wgpu error #2122

Closed
@giusdp

Description

@giusdp

Bevy version

v0.5.0 commit 7d0e98f

Operating system & version

Manjaro Linux

What you did

Ran the example array_texture with cargo run --example array_texture

What you expected to happen

The example to work.

What actually happened

After opening the window at first, it quickly crashed.

Additional information

The console log errors:

wgpu error: Validation Error

Caused by:
    In Device::create_bind_group
    texture binding 0 expects dimension = D2, but given a view with dimension = D2Array


thread 'Compute Task Pool (0)' panicked at 'Handling wgpu errors as fatal by default', /home/giusdp/.cargo/registry/src/g.yxqyang.asia-1ecc6299db9ec823/wgpu-0.8.0/src/backend/direct.rs:1955:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'task has failed', /home/giusdp/.cargo/registry/src/g.yxqyang.asia-1ecc6299db9ec823/async-task-4.0.3/src/task.rs:368:45
zsh: segmentation fault (core dumped)  cargo run --example array_texture

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorP-CrashA sudden unexpected crash

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions