-
-
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
Example is not working on MacBook Pro 2023 M2 Max MacOS Sonoma #8950
Comments
4294967295 is 2^32 - 1. Odd that that happens on an M2 Max and not an M1 Max, as far as I know. I wonder if it’s a reserved value that should have been checked somewhere (e.g. u32::MAX). |
It's a bug with the beta of next macOS - it works fine with the released macOS |
Current workaround is to use BorderlessFullscreen: use bevy::window::WindowMode;
fn main() {
App::new()
.add_plugins(DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
mode: WindowMode::BorderlessFullscreen,
..default()
}),
..default()
}))
.add_startup_system(setup)
.run();
} |
It's been fixed upstream in wind, so when the next wind is released it should be fixed by just upgrading the dependency. I also have my own fix by patching the wing event-handler in bevy: ptxmac@edfa4e4 |
a new version of Bevy has been published with a patch for this, run |
Bevy version
git checkout latest
Relevant system information
Display settings (using built-in Retina):
What you did
Tried setup guide from bevy web-site, it fails to on
cargo run --example breakout
What went wrong
It should run an example, but it throws an error, looks like it tries to create too big texture:
Additional info
Related issue - #4869
The text was updated successfully, but these errors were encountered: