Skip to content

Minimising panics again #3368

Closed
Closed
@DJMcNab

Description

@DJMcNab

Bevy version

main, as of at least 2abf5cc (#3153)

Operating system & version

Windows 10

What you did

Ran any example (say cargo run --example 3d_scene), then pressed minimise

What you expected to happen

The window should be minised

What actually happened

The example panics specifically at

Clusters::new((screen_size + UVec2::ONE) / n_tiles, screen_size, Z_SLICES)
because (at least one, but in this case both) of the components of n_tiles are 0.

Additional information

Related issues #2866, #899, #2018, #170, #1882.

We should also add a CI check that minimising works sensibly, if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenP-CrashA sudden unexpected crashP-RegressionFunctionality that used to work but no longer does. Add a test for this!

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions