-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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_settings
example crashes on startup
#17227
Comments
Should be fixed in #17224 but maybe we want to break the fix out. |
Maybe it's extremely intermittent, but I can't seem to reproduce on macOS. Could you fix up the issue title? |
window_settings
example crashes on startup
Sorry, I must have accidentally pasted the command there instead of into the description |
I tested in Windows 11 Pro |
I get the same issue on windows 10 with latest main |
linking #16961 to this as well since its the same issue |
# Objective - Stop bevy from crashing when losing window focus ## Solution - The InputFocus resource is optional but is accessed unconditionally in bevy_winit. Make it optional. ## Testing - Ran the window_settings example ## Note It's possible this might not be a full fix for the issue, but this stop bevy from crashing. Closes #16961 Closes #17227
Bevy version
The release number or commit hash of the version you're using.
Relevant system information
What you did
cargo run --example window_settings
What went wrong
The text was updated successfully, but these errors were encountered: