Forum Discussion
GoodGameGomez
1 year agoCommunity Manager
Important Unity 6 information
UPDATE (10/23):
Please update to version 69.0.1 of the Meta XR Core SDK. This update resolves the known issue associated with input registration and headlocking.
With the release of Unity ...
SimamDigital.Worlds
1 year agoMHCP Member
Hi Meta Support Team,
We are encountering a critical issue with our VR app during our upgrade process. Previously, we were using Unity 2022.3.16f1 with the legacy Oculus Package, and everything was functioning correctly. However, after updating to Unity 6000.0.23f1 and Meta SDK version 69.0.1, we are experiencing a black screen and an immediate crash on app start.
This issue persists even in a clean project with an empty scene and only the basic Meta packages imported.
Could you please provide any updates on known fixes for these issues or suggest workarounds? Your assistance would be greatly appreciated as this is blocking our project progress.
- tanmay.ronin1 year agoMHCP Partner
Hi Meta Support Team,
We are facing the same issue as SimamDigital.Worlds.
After updating to Unity 6(27f) and Meta SDK 69.0.1, our app crashes as soon as we launch it on the device. This is with the latest Occulus XR plugin v 4.4.0.
Tested on Quest 2, 3 and Pro.
Could you please provide a fix for this issue.- SimamDigital.Worlds1 year agoMHCP Member
Hi Tanmay,
We were able to find a solution to this problem and got our build working correctly.
Make sure following is set in your project:
1. Project Settings :
AndroidMinSdkVersion: 26
AndroidTargetSdkVersion: 31
useCustomProguardFile: 1
apiCompatibilityLevel: 3
2. We are using ProGuard you may not need this but we required it in our build process:
"-keep class com.unity3d.player.UnityPlayerActivity.** { *; }
-keep class com.unity3d.player.** { *; }"
3. Custom launcherTemplate.gradleMake sure same is set for mainTemplate.gradle if you use it.
4. Android Manifest
Make sure to set correct activity name if you are using legacy manifest file in your project.
<activity android:label="@string/app_name" android:name="com.unity3d.player.UnityPlayerGameActivity">
In unity project settings also make sure to set Application Entry Point:And finally, make sure to update the manifest using meta's tool as this includes new configs that it requires :
This fixed our issues as app was instant crashing on start mainly due to gradle SDK versions mismatch and manifest files being outdated.
- tanmay.ronin1 year agoMHCP Partner
Thank you SimamDigital.Worlds
It worked just by doing pt 1 & 2.
My guess is just the Manifest change would also be enough.
But thanks for the prompt solution!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 8 months ago