Search Unity

Resolved VR .apk wont open (quest 2)

Discussion in 'VR' started by tylerbender, Aug 10, 2021.

  1. tylerbender

    tylerbender

    Joined:
    Aug 10, 2021
    Posts:
    4
    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.
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    Define what "won't open" means. What do you actually see?
     
  3. tylerbender

    tylerbender

    Joined:
    Aug 10, 2021
    Posts:
    4
    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. 351.jpg
     
  4. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    Ah. Yep, looks like a crash of some sort. OK, a couple of ideas:
    1. 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.)
    2. 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
     
    tylerbender likes this.