Render Recovery release note#23466
Conversation
|
This is so cool! Idle question, in the long term are we thinking maybe we can throw a |
tychedelia
left a comment
There was a problem hiding this comment.
I might add a brief note about when such failures can occur in practice and mention that this is intended for advanced users.
alice-i-cecile
left a comment
There was a problem hiding this comment.
Running the render_recovery example, pressing 5 then D on my machine crashes the app. L hangs the app, but that's probably fine. I could still close it.
Trying again with cargo run --example render_recovery --features="debug", the panicking system is: bevy_render::run_render_schedule.
thread 'Compute Task Pool (18)' (110793) panicked at /home/alice/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-28.0.0/src/backend/wgpu_core.rs:2231:18:
Error in Buffer::get_mapped_range: Validation Error
Caused by:
Buffer with 'clustering metadata staging buffer' label has been destroyed
Device info:
2026-03-23T22:51:59.953837Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux (Pop!_OS 22.04)", kernel: "6.17.9-76061709-generic", cpu: "13th Gen Intel(R) Core(TM) i9-13900K", core_count: "24", memory: "31.1 GiB" }
2026-03-23T22:52:00.006843Z INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 2060", vendor: 4318, device: 7817, device_type: DiscreteGpu, device_pci_bus_id: "0000:01:00.0", driver: "NVIDIA", driver_info: "580.119.02", backend: Vulkan, subgroup_min_size: 32, subgroup_max_size: 32, transient_saves_memory: false }
alice-i-cecile
left a comment
There was a problem hiding this comment.
Ah, known issue. Sure, I can live with that.
Objective
Solution
Testing
Note
I opted not to change the default recovery behavior yet. I believe we need testing in user projects and just general trodding of this code path before committing to a new default. It works in a simple example, it might not work in a complex project. We need to field test this and likely iterate to really call this ready IMO.