Search Unity

Bug Black monitor screen when using URP and OpenXR

Discussion in 'VR' started by shomz, Nov 19, 2022.

  1. shomz

    shomz

    Joined:
    Nov 9, 2016
    Posts:
    16
    Having a long running project that was switched to URP about a year ago, I've recently noticed that the monitor screen is black where it used to show/mirror what's seen in the headset.

    I was able to reproduce this using a blank project.

    Steps to reproduce:
    - create a new VR template project in 2021.3.14f1
    - add URP from the package manager
    - create URP render assets and assign them in Settings->Graphics
    - build the app and run it

    Everything works nice in the editor - both the Game view on your monitor and the VR headset show the same thing; but in the build, you only can seen inside the headset, while the monitor screen remains black.

    Am I missing something? I'm positive this was not the case a few months ago.
    I tried messing with pretty much all the settings and it's always the same.

    Using Windows 11, Unity 2021.3.14f1 and Oculus Rift
     
    Last edited: Nov 19, 2022
  2. ash_at_unity3d

    ash_at_unity3d

    Unity Technologies

    Joined:
    Jan 9, 2020
    Posts:
    41
    This has been reported as a bug in October. We have a fix for this which will come out at the beginning of December in 1.6.0 release of the OpenXR provider.
     
    shomz and Charlicopter like this.
  3. shomz

    shomz

    Joined:
    Nov 9, 2016
    Posts:
    16
    Thank you, Ash.
    I assume downgrading is the only solution until the December release, right?
     
  4. ash_at_unity3d

    ash_at_unity3d

    Unity Technologies

    Joined:
    Jan 9, 2020
    Posts:
    41
    Hi @shomz ,
    Yes, unfortunately. Talking with the devs on this, anything before 1.5 should work.
     
    shomz likes this.