bevyengine / bevyengine/bevy

Crash after minimizing window on Vulkan backend

Open
#25,609 1 comment 0 reactions 0 assignees View on GitHub
A-Windowing C-Bug I-Crash O-Vulkan S-Needs-Reproduction
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## Bevy version and features

- main
- default-features = false
- features = [
"2d",
"debug",
]

## Relevant system information

- cargo 1.100.0-nightly (e8cb624d5 2026-08-22)
- Windows 11 cross build from wsl arch

```ignore
AdapterInfo { name: "AMD Radeon RX 7650 GRE", vend
or: 4098, device: 29824, device_type: DiscreteGpu, device_pci_bus_id: "", driver: "AMD proprietary driver",
driver_info: "26.8.1 (LLPC)", backend: Vulkan, subgroup_min_size: 32, subgroup_max_size: 64, transient_sav
es_memory: Some(false), limit_bucket: None }
```

## What you did

```rust
fn main() {
App::new().add_plugins(DefaultPlugins).run();
}
```

- built, copy the executable and dlls to windows then run

- minimize the window

## What went wrong

Crashed with:

```ignore
2026-08-31T06:05:26.628046Z ERROR bevy_render::error_handler: Caught DeviceLost error: Unknown Unexpected e
rror variant (driver implementation is at fault)
2026-08-31T06:05:26.630123Z ERROR bevy_render::error_handler: Quitting the application due to DeviceLost Re
nderError
2026-08-31T06:05:26.639060Z WARN bevy_ecs::world::command_queue: CommandQueue has un-applied commands bein
g dropped. Did you forget to call SystemState::apply?

```

## Additional information

Set backend to DX12 fixes this.

Contributor guide

Open the contributing guide

Research direction

Start by running the minimal DefaultPlugins application on Windows with the Vulkan backend, then minimize the window and capture the device-lost output. Compare the Vulkan behavior with DX12, which is reported to work, and trace the render path handling the device loss. Done means minimizing no longer crashes the application on the reported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.