-
-
Notifications
You must be signed in to change notification settings - Fork 21.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
Quest 2 export in 4.2.dev2 not working #80120
Comments
Could it have some something to do with the following commit? 29bbc17 , which has the following description: Godot Android re-architecture Regards, |
Cc @m4gr3d |
Thanks for the update! I recompiled Godot and unfortunately I am still not able to run the application on the Quest2. It still crashes on startup. Any changes in the export templates as well? Any ideas? |
You need to compile the export templates too. |
Thank you! |
I recompiled both the android_release.apk and android_debug.apk and still crashes on the quest. I also see an android.source in the export templates, where can I find or generate that file? I found the file and copied it to the export template folder. Unfortunately still no go on the Quest2, the app crashes in immersive mode and no debug information is available through the usb connection. I compiled the android_release.apk and android_debug.apk for only the arm64v8. |
Yes! Got it to work! Needed to compile and install the 2.0.0dev version of the XR loaders and now I am able to start my VR app! |
Godot version
4.2.dev2
System information
MacOS 13.5 - Godot 4.2.dev2 - Mobile
Issue description
UPDATE: It is a Quest2 specific issue. I tried it using a regular renderer on a Android Samsung phone and it works fine in 4.2.dev2
Dear developers,
I was happy to see the XR action map working in 4.2.dev2. Unfortunately when I try to export to the Quest 2, the executable crashes on the Quest 2. Enabling debugging on the Quest 2 yields more information in version 4.1.1 of Godot than in 4.2.dev2 (see enclosed screenshots).
I tried several things to find more information:
I am not sure whether it is a MacOS specific issue. I haven't been able to test this on a Windows machine.
Steps to reproduce
Just make a simple XR project, using a tutorial:
Use standard white materials for the plane and capsule.
Loaded: XRTools, XR Loaders, Android build templates (need to change the version in gradle-wrapper.properties to 7.6 in the URL to get a working compile)
Settings: OpenXR Enabled in project settings, ASTC texture compression enabled
Export Settings: Android Export - Gradle build - Android target platform 33 - Godot OpenXR for Meta - XR Mode: OpenXR
Connect Quest 2 headset via USB
Enable "deploy with remote debug" in the editor
Use the run remote to run the apk on the Oculus 2.
In 4.1.1 this yields a basic scene you can navigate. In 4.2.dev2 this crashes on the headset.
Minimal reproduction project
Just extract the following files in a OpenXR42 directory and follow the steps written earlier.
minimal project.zip
The text was updated successfully, but these errors were encountered: