Search Unity

Question Vulkan Builds won't run on Quest 2

Discussion in 'VR' started by krakentanz, Dec 3, 2021.

  1. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,063
    And you followed the oculus quest unity setup on the oculus page?
     
  2. wrensey

    wrensey

    Joined:
    Mar 12, 2017
    Posts:
    15
  3. PelvisParsley

    PelvisParsley

    Joined:
    Aug 9, 2016
    Posts:
    89
    Yep
     
  4. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
  5. wrensey

    wrensey

    Joined:
    Mar 12, 2017
    Posts:
    15
    Hmm I've always had Opaque Texture disabled, maybe it's some other setting? What version of Unity are you on exactly, I'm on 2021.3.1f1

    If it's not too much trouble could you post screenshots of how your Oculus plugin, Player, and URP settings are set up? Or a sample project of it working so I can compare settings and see what the discrepancy is?
     
  6. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    Make sure you actually set the opaque texture off from URP asset that is currently active on build. I say this because your quality levels (project settings->quality) can also have additional SRP asset overrides and you might not be using the same URP asset as you think you are using.
     
  7. wrensey

    wrensey

    Joined:
    Mar 12, 2017
    Posts:
    15
    So I'm using URP - HighFidelity asset and Opaque texture is off there, and I have URP - HighFidelity assigned in the Quality settings for the selected Render Pipeline Asset. The quality settings with that assigned are set as default for android, am I missing something?
     

    Attached Files:

  8. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    I'd disable HDR too but I don't know if it has anything to do with the black screen issue.
     
  9. PelvisParsley

    PelvisParsley

    Joined:
    Aug 9, 2016
    Posts:
    89
    It was already off for me, though the build works on a lower version of Oculus plugin
     
  10. wrensey

    wrensey

    Joined:
    Mar 12, 2017
    Posts:
    15
    Which version of the plugin did you downgrade to?
     
  11. PelvisParsley

    PelvisParsley

    Joined:
    Aug 9, 2016
    Posts:
    89
    2.0
     
  12. lundgren93

    lundgren93

    Joined:
    Oct 1, 2014
    Posts:
    5
    Trying to use Vulkan without success. Everything match with https://developer.oculus.com/documentation/unity/unity-conf-settings/. I'm using the latest package versions and unity 2021.3.13 LTS. But the game just wont start past the splashscreen and the three dots.

    If I toggle depth texture off, it runs. But I heavily rely on depth texture. Is there any way to make Vulkan run with depth texture enabled?

    Thanks,
     
  13. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,063
    1. Disable graphics jobs can help a lot
    2. Make a bug report for the depth crash
     
  14. lundgren93

    lundgren93

    Joined:
    Oct 1, 2014
    Posts:
    5
    Disable graphics jobs did it for me. Thank you so much!
     
    DevDunk likes this.
  15. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,063
    Maybe make a bug report and link this thread. Mine was removed for some reason
     
  16. saifshk17

    saifshk17

    Joined:
    Dec 4, 2016
    Posts:
    488
    Hi, I am in the same state. I am using 2022 version of Unity, building for Quest 2. It gets stuck at 3 dots.
    Currently using Vulcan with URP (latest version) and Oculus integration (latest version).
    Do you suggest I should switch to Open GLES 3.0?
     
  17. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,063
    1. As per usual, update unity if there is one, and check logcat for which error you get.
    2. Make sure graphics jobs is disabled
    3. If you don't need vulkan features, OpenGLES does work fine yes