-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Description
Bevy version and features
bevy commit ea8f22e (latest as of report)
also tested in 0.17.0
Relevant system information
tested on windows 11 23h2 and cachyos 0.18.3 (kernel: 6.17.1-2-cachyos)
rustc 1.90.0 (1159e78c4 2025-09-14)
cargo 1.90.0 (840b83a10 2025-07-30)
AdapterInfo { name: "NVIDIA GeForce RTX 3060 Ti", vendor: 4318, device: 9353, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "580.95.05", backend: Vulkan }
What you did
Added Bloom::default()
to the camera in the custom_post_processing
example, even a minimal shader causes a crash.
commands.spawn(( |
commands.spawn((
Camera3d::default(),
Transform::from_translation(Vec3::new(0.0, 0.0, 5.0)).looking_at(Vec3::default(), Vec3::Y),
Camera {
clear_color: Color::WHITE.into(),
..default()
},
Bloom::default(),
// Add the setting to the camera.
// This component is also used to determine on which camera to run the post processing effect.
PostProcessSettings {
intensity: 0.02,
..default()
},
));
shader i also tested with
#import bevy_core_pipeline::fullscreen_vertex_shader::FullscreenVertexOutput
@fragment
fn fragment(in: FullscreenVertexOutput) -> @location(0) vec4<f32> {
return vec4<f32>(
0.0,
0.0,
0.0,
1.0
);
}
What went wrong
crashes almost instantly when shader gets loaded
Additional information
2025-10-12T17:04:20.968842Z ERROR wgpu::backend::wgpu_core: Handling wgpu errors as fatal by default
thread '<unnamed>' panicked at /home/fee/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-26.0.1/src/backend/wgpu_core.rs:2391:18:
wgpu error: Validation Error
Caused by:
In a CommandEncoder
In a pass parameter
Encoder is invalid
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `Enable the debug feature to see the name`!
thread '<unnamed>' panicked at /home/fee/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-hal-26.0.4/src/vulkan/instance.rs:192:58:
Trying to destroy a SurfaceAcquireSemaphores that is still in use by a SurfaceTexture
full crashlog: https://pastebin.com/raw/sbQ8tR0c
Metadata
Metadata
Assignees
Labels
No labels