Black monitor screen when using URP and OpenXR

, ,

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

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.

2 Likes

Thank you, Ash.
I assume downgrading is the only solution until the December release, right?

Hi @shomz ,
Yes, unfortunately. Talking with the devs on this, anything before 1.5 should work.

1 Like