bevyengine / bevyengine/bevy

Error when trying to create render 3d shapes in version 11.0 and 12.0-dev

Open
#9,405 8 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Bug I-Crash O-Linux O-OpenGL S-Blocked
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version

I have the same issue on both version 11.0 and 12-dev...This is an issue that did not appear on version 8.0 or 9.0

## Relevant system information

See below

- rustc 1.71.1 (eb26296b5 2023-08-03)
- cargo 1.71.1 (7f1d04c00 2023-07-29)
- OS: SystemInfo { os: "Linux 23.04 Ubuntu", kernel: "6.2.0-26-generic", cpu: "Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz", core_count: "4", memory: "19.5 GiB" }

2023-08-10T09:30:00.576695Z INFO bevy_render::renderer: AdapterInfo { name: "NVE4", vendor: 65541, device: 0, device_type: Other, driver: "", driver_info: "", backend: Gl }

## What you did

You can easily recreate the issue by running: -

cargo run --example "3d_shapes" --features wayland

## What went wrong

Panic with the following error message

This is from build

commit e87d3cccbe329783572ecb0d4e3d130a99694508

Error message

2023-08-10T09:30:00.786651Z ERROR wgpu_hal::gles::egl: GLES: [API/Error] ID 2 : GL_INVALID_ENUM in glTexStorage2DMultisample(target=GL_TEXTURE_2D)
2023-08-10T09:30:00.786835Z ERROR wgpu_hal::gles::egl: GLES: [API/Error] ID 2 : GL_INVALID_ENUM in glTexStorage2DMultisample(target=GL_TEXTURE_2D)
2023-08-10T09:30:01.048552Z ERROR wgpu::backend::direct: Shader translation error for stage ShaderStages(FRAGMENT): gsamplerCubeArrayShadow isn't supported in textureGrad, textureLod or texture with bias
2023-08-10T09:30:01.048598Z ERROR wgpu::backend::direct: Please report it to https://github.com/gfx-rs/naga
2023-08-10T09:30:01.048636Z ERROR wgpu::backend::direct: Handling wgpu errors as fatal by default
thread 'Compute Task Pool (1)' panicked at 'wgpu error: Validation Error

Caused by:
In Device::create_render_pipeline
note: label = `pbr_opaque_mesh_pipeline`
Internal error in ShaderStages(FRAGMENT) shader: gsamplerCubeArrayShadow isn't supported in textureGrad, textureLod or texture with bias

', /home/paul/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.16.3/src/backend/direct.rs:3019:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_render::render_resource::pipeline_cache::PipelineCache::process_pipeline_queue_system`!
thread 'Compute Task Pool (1)' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', crates/bevy_render/src/pipelined_rendering.rs:143:45

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.