Search Unity

Question Oculus Quest 2 Every app deployed from Unity crashes immediately

Discussion in 'VR' started by MSLTD, May 4, 2021.

  1. MSLTD

    MSLTD

    Joined:
    Mar 5, 2021
    Posts:
    4
    No matter what settings i choose, every app i deploy to the quest two headset results in a 1-2 second black (no splash) screen then crash, i've tried 2 brand new headsets so not the hardware.

    I've stripped it back to the bare essentials but still nothing.

    General Setup
    Unity Version 2019-4-25f1 & 2020-3-0F1
    All Android build modules added.

    Packages Added
    Oculus XR Plugin 1.8.1
    XR Plugin Management 4.0.1
    Oculus Integration 28.0

    Build Settings
    Android XR Plug in provider for Oculus Ticked.
    Build to Plugged in Quest 2 Device
    Tried Mono and IL2CPP
    Test Scene Added

    Test Scene.
    Skybox
    OVR Camera Rig

    Can someone please advice what exactly im doing wrong here???
     
  2. bsautner

    bsautner

    Joined:
    Sep 3, 2019
    Posts:
    1
    check your firmware - older firmware crashes apps written in the latest SDK. I had a Q2 i hadn't used in a while crash skybox but it worked when i updated everything
     
    MSLTD likes this.
  3. nachinen

    nachinen

    Joined:
    Jan 19, 2021
    Posts:
    1
    I am experiencing the very same problem. After weeks of debugging and tests I found the source of the problem...the lightmaps. Once I remove them from the build the app runs in quest 2. The moment I include them in the build it crashes again. I've been playing around with the lightmap resolution, size and compression parameters with no success so far.
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,055
    How big is the apk with lightmaps? Maybe that's the issue.
    If under 2GB, you could make a bug report for it