Skip to content

Regression: wgpu panic on window minimize #4097

@aevyrie

Description

@aevyrie

Bevy version

Regression occurs in 81d57e1 as a result of #3412

This bug is not present in 0.6.1, or any commits prior to the above PR merge.

Operating system & version

Win 11

What you did

Minimize an example window.

What you expected to happen

Nothing

What actually happened

thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_texture
      note: label = `sampled_color_attachment_texture`
    Dimension X is zero
wgpu-0.12.0\src\backend\direct.rs:2273:5

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorP-RegressionFunctionality that used to work but no longer does. Add a test for this!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions