-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Pipelined Rendering on Android crashing due to windows initialisation too early #3249
Copy link
Copy link
Closed
Labels
C-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-AndroidSpecific to the Android mobile operating systemSpecific to the Android mobile operating system
Description
Bevy version
4423a2f, current main
Operating system & version
macOS 12.0, compiling for Android
What you did
I updated example https://github.com/bevyengine/bevy/blob/main/examples/android/android.rs to use the new renderer and executed cargo apk run --example android
What you expected to happen
It should run.
What actually happened
Black screen on android, and the following message in the logs:
RustStdoutStderr: thread '<unnamed>' panicked at 'Cannot get the native window, it's null and will always be null before Event::Resumed and after Event::Suspended. Make sure you only call this function between those events.', /Users/francoismockers/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.26.0/src/platform_impl/android/mod.rs:598:13
Additional information
I didn't manage to run the example as is due to shaderc compilation issues
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-AndroidSpecific to the Android mobile operating systemSpecific to the Android mobile operating system