You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #103026 added the option to select which rendering driver to be used for each platform. They also added a new default setting which is auto. Currently, leaving the setting for rendering/rendering_device/driver.android to auto causes debug exported projects to crash. Changing the setting to vulkan fixes the issue.
Possibly relevant crash log:
02-22 18:49:21.266 19681 19720 E godot : ERROR: Parameter "native_window" is null.
02-22 18:49:21.266 19681 19720 E godot : at: DisplayServerAndroid (platform/android/display_server_android.cpp:700)
02-22 18:49:21.266 19681 19720 E godot : ERROR: Unable to create DisplayServer, all display drivers failed.
02-22 18:49:21.266 19681 19720 E godot : Use "--headless" command line argument to run the engine in headless mode if this is desired (e.g. for continuous integration).
02-22 18:49:21.266 19681 19720 E godot : at: setup2 (main/main.cpp:3015)
Additional concerns: Someone should probably check exports on iOS and MacOS as those are probably just as overlooked as Android exports.
Steps to reproduce
Create a simple, exportable project for Android with default Project Settings.
Export project to Android.
Run project and watch it crash.
Extra steps to fix:
4. Change rendering/rendering_device/driver.android in Project Settings to vulkan.
5. Export and run project to see it work as normal.
Okay, it took a while since I had to compile it myself for the debug templates, the fix works for both the MRP I provided as well as my own Godot Project.
Tested versions
System information
Android 13 - Godot v4.4rc1 - Mobile - Qualcomm Adreno 650
Issue description
PR #103026 added the option to select which rendering driver to be used for each platform. They also added a new default setting which is
auto
. Currently, leaving the setting forrendering/rendering_device/driver.android
toauto
causes debug exported projects to crash. Changing the setting tovulkan
fixes the issue.Possibly relevant crash log:
Additional concerns: Someone should probably check exports on iOS and MacOS as those are probably just as overlooked as Android exports.
Steps to reproduce
Extra steps to fix:
4. Change
rendering/rendering_device/driver.android
in Project Settings tovulkan
.5. Export and run project to see it work as normal.
Minimal reproduction project (MRP)
android-crash.zip
The text was updated successfully, but these errors were encountered: