-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic at extreme aspect ratios #3399
Comments
Duplicate of/closely related to #3368 |
Yeah, very closely related. I think there may be some platform-specific behavior causing slightly different panics while minimizing. #3369 fixes minimizing on macos, but still crashes when resizing to these extreme aspect ratios. |
Yes indeed. I missed that you had interacted with #3369 before opening this issue. I did hypothesise that this issue would occur, but never explicitly tested it; it seemed like a trivial extension. In my view, a fix for #3368 should also fix this issue to be correct. But you are correct, I should have included that in my original issue. |
Sadly, no dice. Still panicking. I also tested throwing
|
Updated example in issue text to include repro resolutions for #3596 |
I believe this specific thing was fixed. At least I can no longer repro. |
Bevy version
Latest main
Also, PR #3369
Operating system & version
macos 12.0.1 (m1)
What you did
What actually happened
Additional information
Perhaps not a showstopper, but this situation can easily occur when providing users with resizable windows.
Probably just needs a
.max(UVec2::ONE)
somewhere inlight.rs
, but I don't know the renderer well enough to know if that's the right strategy.The text was updated successfully, but these errors were encountered: