-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Minimising panics again #3368
Copy link
Copy link
Closed
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenP-CrashA sudden unexpected crashA sudden unexpected crashP-RegressionFunctionality that used to work but no longer does. Add a test for this!Functionality that used to work but no longer does. Add a test for this!
Milestone
Description
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
bevy/crates/bevy_pbr/src/light.rs
Line 233 in 9a16a4d
| Clusters::new((screen_size + UVec2::ONE) / n_tiles, screen_size, Z_SLICES) |
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenP-CrashA sudden unexpected crashA sudden unexpected crashP-RegressionFunctionality that used to work but no longer does. Add a test for this!Functionality that used to work but no longer does. Add a test for this!