Skip to content

Cannot run any example in 0.16.0 #18932

Open
@fleetingbytes

Description

@fleetingbytes

Bevy version

0.16.0

Relevant system information

I have no problems building bevy, just for completeness:
cargo 1.86.0 (adf9b6ad1 2025-02-28)
FreeBSD 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64

`AdapterInfo { name: "Mesa Intel(R) HD Graphics 4600 (HSW GT2)", vendor: 32902, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "4.6 (Core Profile) Mesa 24.1.7", backend: Gl }`

What you did

cargo run --example external_source_external_thread
(and many other examples I have tried produce this very same error)

I have reported my issue at wgpu but they say this is a bevy issue.

What went wrong

2025-04-25T12:19:05.296612Z ERROR wgpu::backend::wgpu_core: Shader translation error for stage ShaderStages(COMPUTE): WGSL `textureLoad` from depth textures is not supported in GLSL
2025-04-25T12:19:05.296649Z ERROR wgpu::backend::wgpu_core: Please report it to https://github.com/gfx-rs/wgpu
2025-04-25T12:19:05.296669Z ERROR wgpu::backend::wgpu_core: Handling wgpu errors as fatal by default

thread 'Async Compute Task Pool (0)' panicked at /home/tejul/.config/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.3/src/backend/wgpu_core.rs:1351:26:
wgpu error: Validation Error

Caused by:
  In Device::create_compute_pipeline, label = 'downsample depth multisample first phase pipeline'
    Internal error: WGSL `textureLoad` from depth textures is not supported in GLSL

Additional information

I can run any example allright in bevy 0.15.3. It's something about 0.16.0 and its dependency versions which causes this.

I have posted about this here in the disussions, @Henauxg suspects this to be an OpenGL issue.

Complete log:
output.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorO-OpenGLSpecific to the OpenGL render APIP-RegressionFunctionality that used to work but no longer does. Add a test for this!S-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions