I built a basic “game” where all you can do is shoot and reset these cubes, but when I build it into an .apk and sideload it onto my Quest 2 the app wont open. I have tried to figure out why this is happening in the “player settings” but found no luck. Does anyone else experience this problem or have a fix? P.S. I’m new in unity so go easy.
Define what “won’t open” means. What do you actually see?
I open the app it tries to load (does the 3 dot loading thing) then this pops up. If I try to click “App Info” It brings me to my home.
Ah. Yep, looks like a crash of some sort. OK, a couple of ideas:
- Try a new, empty project. Be sure you’ve turned on VR support in the “XR Settings” part of Player settings, and of course changed the target to Android. Then just use Build & Run to build directly to (and launch on) the device — don’t mess around with sideloading. With an empty project, you should be able to hop into VR and look around at the skybox. (You can then throw in a plane and a cube or two to give you more to look at.)
- Learn to use logcat to view the system log on your Quest. Have that running while you launch your app, and you should be able to find some messages that provide a clue about the nature of the crash.
Good luck!
- Joe
1 Like