Skip to content

Panic in bevy_pbr when resizing window too small with mouse #3596

@Sheepyhead

Description

@Sheepyhead

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorP-CrashA sudden unexpected crash

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions