Forum Discussion
tylercroach
2 years agoProtege
Unity App Crashing on Quest
After building our metaverse application and not having tested in a while, it seems to not be running and instead crashing on each launch. Oculus firmware 50 seems to be the cause of this. We are usi...
- 2 years ago
We have fixed it by reverting back to an older version and readding our changes to it. I narrowed it down to being most likely a library that I added that was conflicting with Android 12. I'm still not sure which one it was but no crashes and performance is good too. Target SDK is 32 minimum is 29 for Quest 1 users and using IL2CPP and Arm64 too. OpenXR 1.7.0 and Oculus XR Plugin 3.3.0. Oculus plugin 1.82.0. XR Plugin Management 4.2.0 and XR Core Utilities 2.0.1. Unity 2021.3.22f1. I would check your libraries as apparently it has to do with either libraries or permissions on Android 12. Also worse comes to worse try using mono or arm7. Good luck!
tylercroach
2 years agoProtege
We have fixed it by reverting back to an older version and readding our changes to it. I narrowed it down to being most likely a library that I added that was conflicting with Android 12. I'm still not sure which one it was but no crashes and performance is good too. Target SDK is 32 minimum is 29 for Quest 1 users and using IL2CPP and Arm64 too. OpenXR 1.7.0 and Oculus XR Plugin 3.3.0. Oculus plugin 1.82.0. XR Plugin Management 4.2.0 and XR Core Utilities 2.0.1. Unity 2021.3.22f1. I would check your libraries as apparently it has to do with either libraries or permissions on Android 12. Also worse comes to worse try using mono or arm7. Good luck!
tylercroach
2 years agoProtege
We also added a permissions request in awake in first scene that wasn't in our manifest which would cause the app to refresh since people are saying there's some kind of UI conflict with Android 12 too and to try doing that even though you don't need that permission, in our case we did location services. Another thing you could try is switching from Oculus to OpenXR or using legacy Oculus plugin or upgrading your packages/oculus integration. Apparently Oculus is saying that they changed the name of OBBs to be main.packagename.versioncode but only main.versioncode.packagename works which was what it was before if you are using those.
- tylercroach2 years agoProtege
If you're using OpenXR turn off Meta XR Feature and make sure Meta Quest is checked in OpenXR settings under XR Plugin Management settings. Also try switching between Vulkan and OpenGL3, we use OpenGL3 as it has better performance for us.
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
- 2 years ago
- 5 months ago