Search Issue Tracker

By Design

Votes

1

Found in [Package]

3.2.12

Issue ID

1260308

Regression

Yes

[XR SDK][Oculus] Mask is not hiding UI element in build

Package: XR Management

-

Reproduction steps:
1. Open attached project ("VRBug.zip")
2. Open "SampleScene" scene
3. Build and Run the project

Expected result: Mask is hiding UI element
Actual result: Mask is not hiding UI element

Reproducible with: 2019.4.3f1, 2020.1.0b15, 2020.2.0a17 (3.2.12)
Not reproducible with: 2018.4.24f1 (Legacy XR)

Tested:
- Windows Standalone

  1. Resolution Note:

    When entering PlayMode in the Editor or running a debug build following warning can be seen:

    A Canvas named "Canvas" with a render mode of ScreenSpaceOverlay is being used while VR is also enabled. This Canvas will continue to incur a rendering cost, but will not be visible while in VR. Is this intentional?

    In order to display UI in screen-space, you can use a second camera as described here:

    https://answers.unity.com/questions/1027642/vr-how-to-display-a-canvas-with-oculus.html

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.