-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Panic in bevy_pbr when resizing window too small with mouse #3596
Description
Bevy version
0.6
Operating system & version
Windows 10
What you did
I started my game and then grabbed the corner of the window with my mouse and resized it as small as it would go
What you expected to happen
The window resizes down to minimum and back up without issue
What actually happened
The game panicked with the following message
thread 'Compute Task Pool (5)' panicked at 'assertion failed: self.axis_slices.x * self.axis_slices.y * self.axis_slices.z <= 4096', C:\Users\Sheepyhead\.cargo\registry\src\github.com-1ecc6299db9ec823\bevy_pbr-0.6.0\src\light.rs:254:9 (backtrace omitted)
Additional information
INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce GTX 1080", vendor: 4318, device: 7040, device_type: DiscreteGpu, backend: Vulkan }
There seems to be some talk about it being related to #3399 but I decided to make a fresh issue on it since the actual panic is different