Description
Bevy version
0.16
[Optional] Relevant system information
4070 super GPU
## What you did
I added the atmosphere component to a camera in my empty project
## What went wrong
It crashes with a long message, I think the important bits are:
2025-04-27T14:37:29.273331Z ERROR wgpu::backend::wgpu_core: Handling wgpu errors as fatal by default
thread '' panicked at C:\Users\Antonin.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\wgpu-24.0.3\src\backend\wgpu_core.rs:3273:26:
wgpu error: Validation Error
Caused by:
In RenderPass::end
In a set_pipeline command
Render pipeline targets are incompatible with render pass
Incompatible color attachments at indices [0]: the RenderPass uses textures with formats [Some(Rgba8UnormSrgb)] but the RenderPipeline with 'render_sky_pipeline_4' label uses attachments with formats [Some(Rgba16Float)]
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
Encountered a panic in system bevy_render::renderer::render_system
!
thread '' panicked at C:\Users\Antonin.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\wgpu-hal-24.0.4\src\vulkan\instance.rs:173:58:
Trying to destroy a SurfaceSemaphores that is still in use by a SurfaceTexture
error: process didn't exit successfully: target\debug\flatlands.exe
(exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN)
Adding hdr: true to my camera seems to solve the crash.