bevyengine / bevyengine/bevy

Window minimizes and then crashes when using the DX12 backend

Open
#23,399 0 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Bug I-Crash O-DX12 O-Windows S-Needs-Investigation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version and features

- bevy 0.18.1
## Relevant system information
OS: windows11

If you cannot get Bevy to build or run on your machine, please include:

- the Rust version you're using (you can get this by running `cargo --version`)
- Bevy relies on the "latest stable release" of Rust

## What you did

Changed the render backends from vulkan to dx12 in the office example 2d_shapes.rs
## What went wrong

Window crashes when minimized

## Additional information

- logs

`thread 'Compute Task Pool (5)' (14348) panicked at C:\Users\a\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\wgpu-27.0.1\src\backend\wgpu_core.rs:3793:18:
wgpu error: Validation Error

Caused by:
In Surface::configure
Invalid surface

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.