Skip to content
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

Crash on iOS #697

Closed
naithar opened this issue Oct 17, 2020 · 1 comment
Closed

Crash on iOS #697

naithar opened this issue Oct 17, 2020 · 1 comment
Labels
C-Bug An unexpected or incorrect behavior

Comments

@naithar
Copy link
Contributor

naithar commented Oct 17, 2020

Bevy version
5df6804

Operating system & version
iOS 14.0.1

What happened
Running any iOS bevy app results in crash on startup.

Additional information

Commenting out this lines fixes the issue:

winit_window
.set_cursor_grab(window.cursor_locked())
.unwrap();
winit_window.set_cursor_visible(window.cursor_visible());

Seems like #679 introduced this crash.

Logs:

2020-10-18 02:01:26.418233+0300 BevyTest[12738:4248545] fopen failed for data file: errno = 2 (No such file or directory)
2020-10-18 02:01:26.418290+0300 BevyTest[12738:4248545] Errors found! Invalidating cache...
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: NotSupported(NotSupportedError)', bevy/crates/bevy_winit/src/winit_windows.rs:76:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
@naithar naithar added the C-Bug An unexpected or incorrect behavior label Oct 17, 2020
@cart
Copy link
Member

cart commented Oct 20, 2020

Resolved by #703

@cart cart closed this as completed Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants