-
-
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
window: (minimize, 0 size, oom) crashes #2299
Comments
The resizing the window to 0-width/height is fixed by #1409, however minimizing the window still causes a crash on Windows, caused by requesting a 0-width/height texture. Looks like this can be fixed by this comment I left a while back: #170 (comment). I can look at creating a PR with those changes. |
Opened #2300 to fix. |
# Objective - Fixes bevyengine#2299 ## Solution - Ensures that textures are never requested with 0 height/width.
I seem to have the same issue despite the fix.
|
This seems to be still happening on 0.6. |
Confirmed
update: Appears to happen to our big project, but not the base bevy examples update2: We are running into the following error |
What we're ran into appears to be caused by something downstream from Bevy, so I'll close this again. Sorry for the ruckus. |
experiencing this or similar on window minimize on w10x64 with a 3060ti running vulkan i do not experience this on the apple m1 running metal
patching in wgpu branch v0.12 did not change outcome i imagine something is trying to divide by a window dimension while it is zero |
There are a set of issues:
#170
#899
#1664
#1882
#2018
That all deal with a window crash when either a window is minimized or the size is set the zero.
All of these issues are related so I'm coalescing them into this issue to centralize discussion here :)
There's been talk that the issue lies withing wgpu, so bevy is unable to do anyting currently about it.
However, if there is more information please feel free to post here and update the progress of this crash.
The text was updated successfully, but these errors were encountered: