Search Issue Tracker
Fixed
Fixed in 1.10.0
Votes
0
Found in [Package]
1.10.0
Issue ID
OXRB-300
Regression
No
[Quest] Player crashes at launch when built with OpenXR and Meta store-compatible AndroidManifest.xml
Reproduction steps:
1. Open the attached project "ReproProj"
2. Switch platform to Android (File > Build Settings > Android > Switch Platform)
3. Open the “/Assets/Samples/Meta XR Core SDK/60.0.0/Sample Scenes/MRC.unity” Scene
4. Build and Run on Quest 2
Expected result: The Player launches successfully and continues to run
Actual result: Player crashes at launch
Reproducible with: 1.9.1 (2023.3.0b5), 1.10.0 (2021.3.35f1, 2022.3.19f1, 2023.2.7f1, 2023.3.0b5)
Reproducible with devices:
VLNQA00379, Oculus (Quest 2), Android 10, CPU: Snapdragon XR2, GPU: Adreno (TM) 650
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- The workaround is to delete AndroidManifest.xml in the “\Assets\Plugins\Android” folder
- Does not reproduce with Oculus XR
- Reproduces with Vulkan and OpenGLES3
Comments (1)
-
lianne13
Feb 21, 2024 17:10
Looked into the issue and seems this is not a bug on our end. The crashing lies in the AndriodManifest file at line 6 where is says
<activity android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"If changed to
<activity android:theme="@style/Theme.AppCompat.DayNight.NoActionBar"
the app will build and run correctly. Seems the issue was the user was using the wrong Theme library which cause it to fail to launch with the original manifest file.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Resolution Note (fix version 1.10.0):
Looked into the issue and seems this is not a bug on our end. The crashing lies in the AndriodManifest file at line 6 where is says
<activity android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
If changed to
<activity android:theme="@style/Theme.AppCompat.DayNight.NoActionBar"
the app will build and run correctly. Seems the issue was the user was using the wrong Theme library which cause it to fail to launch with the original manifest file.