-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Simple window crash on minimize (Windows 10) #2018
Copy link
Copy link
Closed
Labels
A-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-WindowsSpecific to the Windows desktop operating systemSpecific to the Windows desktop operating systemS-DuplicateThis issue or PR already existsThis issue or PR already exists
Description
Bevy version ="0.5.0"
version using from crates.io.
Operating system & version= Windows 10
code
use bevy::prelude::*;
fn main() {
App::build()
.add_plugins(DefaultPlugins)
.run();
}
This code run runs program correctly and a window is opened but when we tries to minimise it crashes simply.
#error shown after crash
thread 'main' panicked at 'Error in Device::create_swap_chain: Both SwapChain width and height must be non-zero. Wait to recreate the SwapChain until the window has non-zero area.',
C:.{path}\wgpu-0.7.1\src\backend\direct.rs:129:9
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
(exit code: 0xc000041d)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-WindowsSpecific to the Windows desktop operating systemSpecific to the Windows desktop operating systemS-DuplicateThis issue or PR already existsThis issue or PR already exists