-
-
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
Dimension X value 4294967295 exceeds the limit of 16384 #9389
Comments
This issue still affect Bevy on macOS 14.0, which is now released. I upgraded, only to find that my bevy projects no longer run. For the record,
|
It's a bug in winit: rust-windowing/winit#2876 and it hasn't been released yet. There is a potential workaround in Bevy: #9905, but the next winit release should happen before the next bevy release... |
What’s the workaround in the meantime? Development on my app is halted for those who have upgraded. Do I need to fork bevy to use this patched winit, or is there some less invasive way of fixing this? |
@maaku could you confirm it works with this patch in you Cargo.toml file
|
FYI: Had the same issue on macOS 14.0 (stable) and the patch above works fine! |
this has now been published as Bevy 0.11.3, no need for a patch anymore, just run |
It works! Thank you. |
…/bevy#9389), adapting for bevy-0.9.1 ... Runs and works as before.
Bevy version
0.11.0
Relevant system information
cargo 1.73.0-nightly (020651c52 2023-08-02)
macOS 14.0 Beta (23A5301h)
What you did
Just spawned a default
Camera2dBundle
and aText2dBundle
:What went wrong
Instead of a window opening with "Lorem ipsum" displayed in the center, the program opened a window, closed the window, crashed, and gave this error:
Additional information
I found the following proposed workaround in this similar issue (#8950):
This code does not cause an error or a crash and the window opens displaying the text as expected. However, I noticed that when the fullscreen window is not on screen, the memory usage of the program jumps up a bit. The highest I observed was 1.75 GB. As soon as the window is back on screen, the memory goes back down to around 500 MB (which still seams a little bit high in my opinion but I've never used Bevy before this so I don't know).
The text was updated successfully, but these errors were encountered: