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!
alkashebat
2 years agoProtege
My game is crashing randomly or on start. Is this post about the same problem? Im very confused lol
https://communityforums.atmeta.com/t5/Unity-VR-Development/1-Game-says-to-set-Oculus-App-Id-when-its-already-set-2-Game/td-p/1048582
tylercroach
2 years agoProtege
We resolved this by reverting our build to an earlier version. I would try using mono to see if that works as it seems like you're getting an IL2CPP error...I believe we were getting a java lang error due to some kind of library that was unable to be loaded or something along those lines. You could also try compiling for Android SDK target of 32 instead of 29 as the quest uses android 12 now. That or change Unity versions to 2022 or 2020. We are still having an issue with the latest update though when it comes to loading higher memory scenes, apparently android 12 takes up more RAM on quest 2 so our scene only works on quest pro now. Quest 1 and 2 result in a freeze and used to result in a crash with a low memory popup until we optimized it further, this is when loading the scene but loads the other scenes fine. We are updating Oculus Integration to 53 now, let me know if you have any ideas on things to try.
- alkashebat2 years agoProtege
My players were being kicked randomly. My game is multiplayer and i reimported the multiplayer package and no one is getting randomly kicked. But, some players still cant load in. I really think its either Unity or Oculus Firmware. I told my players to clear app data and reinstall the game, and for some people its still working. I have Minimum API level 31 and target is "highest installed". That might help. Also try to nod load your RAM with baked lighting since AFAIK it takes a lot of RAM.
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