Skip to content

Panic when minimizing a window (Handling wgpu errors as fatal by default) #1882

Closed
@simensgreen

Description

@simensgreen

Bevy version

0.5.0

Operating system & version

Windows 10

What you did

use bevy::prelude::*;

fn main() {
    App::build()
        .add_plugins(DefaultPlugins)
        .run();
}
  • stable rust

cargo run --color=always --package bevy_test --bin bevy_test

  • try to minimize the window

image

What you expected to happen

The window is minimized

What actually happened

Panic with:

wgpu error: Validation Error

Caused by:
    In Device::create_texture
    Dimension X is zero


thread 'main' panicked at 'Handling wgpu errors as fatal by default'

Additional information

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-WindowingPlatform-agnostic interface layer to run your app inP-CrashA sudden unexpected crashS-DuplicateThis issue or PR already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions