bevyengine / bevyengine/bevy

Cannot run any example in 0.16.0

Open
#18,932 6 comments 5 reactions 0 assignees View on GitHub
A-Rendering C-Bug I-Regression O-OpenGL S-Needs-Investigation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## 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

```ignore
`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](https://github.com/gfx-rs/wgpu/issues/7361#issuecomment-2811588260) my issue at wgpu but they say this is a bevy issue.

## What went wrong

```log
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](https://github.com/bevyengine/bevy/discussions/18878#discussion-8220120), @Henauxg suspects this to be an OpenGL issue.

Complete log:
[output.log](https://github.com/user-attachments/files/19908520/output.log)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.