Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple window crash on minimize (Windows 10) #2018

Closed
vyshnavks8 opened this issue Apr 26, 2021 · 3 comments
Closed

Simple window crash on minimize (Windows 10) #2018

vyshnavks8 opened this issue Apr 26, 2021 · 3 comments
Labels
A-Windowing Platform-agnostic interface layer to run your app in C-Bug An unexpected or incorrect behavior O-Windows Specific to the Windows desktop operating system S-Duplicate This issue or PR already exists

Comments

@vyshnavks8
Copy link

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)

@vyshnavks8 vyshnavks8 added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Apr 26, 2021
@lukors
Copy link
Contributor

lukors commented Apr 26, 2021

Possible duplicate: #899

@mrec
Copy link

mrec commented Apr 26, 2021

Also probably duplicate of #1882 and #170

@alice-i-cecile alice-i-cecile added O-Windows Specific to the Windows desktop operating system A-Windowing Platform-agnostic interface layer to run your app in and removed S-Needs-Triage This issue needs to be labelled labels Apr 27, 2021
@NathanSWard NathanSWard added the S-Duplicate This issue or PR already exists label Jun 3, 2021
@NathanSWard
Copy link
Contributor

Closing as this is a duplicate of #170, #899, #1882

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Windowing Platform-agnostic interface layer to run your app in C-Bug An unexpected or incorrect behavior O-Windows Specific to the Windows desktop operating system S-Duplicate This issue or PR already exists
Projects
None yet
Development

No branches or pull requests

5 participants