Regression : can't use debugger in v0.17
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy version and features
v0.17
`AdapterInfo { name: "NVIDIA GeForce RTX 4070", vendor: 4318, device: 10118, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "566.36", backend: Vulkan }`
## What you did
Set a breakpoint. Resume after a few seconds.
## What went wrong
wgpu loses the GPU device and the renderer immediately panics after the first breapoint is resumed. So you can hit exactly one breakpoint before your app panics and crashes.
```
thread 'Compute Task Pool (15)' (2132) panicked at C:\Users\_\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\bevy_render-0.17.2\src\view\window\mod.rs:270:17:
Couldn't get swap chain texture, operation unrecoverable: Acquiring a texture failed with a generic error. Check error callbacks for more information
```
## Additional information
There's a bunch of other issues around handling device lost etc. but I wanted to raise the criticality of the consequence of it. This is a serious regression in Bevy if you can't use a debugger anymore.
Contributor guide
Assessment
This issue has not been assessed yet.