Search Issue Tracker

Active

Under Consideration for 2022.3.X

Votes

0

Found in

2022.3.28f1

6000.0.1f1

Issue ID

UUM-71748

Regression

No

[XR] Custom Pass not working as intended with Single Pass Instanced when XR is initialized after runtime start

--

-

Steps to reproduce:
1. Open the attached user's project "CustomPassXR.zip"
2. Connect Oculus link with Quest 2/3
3. Make sure OpenXR or OculusXR is selected as the XR Plugin
4. Make sure "Initialize XR on Startup" is disabled and Single Pass Instanced selected
5. Enter Play Mode
6. Press the "M" key on the keyboard
7. Observe the GameObject outlines being projected with an offset and both eyes render them differently

Expected Result: GameObject outlines do not follow HMD movement and both eyes render the same
Actual Result: GameObject outlines are projected with an offset and both eyes render them differently (See attached "Repro.mp4")

Reproducible with: 2022.3.28f1, 6000.0.1f1
Could not test on 2021.3.38f1 due to "NotImplementedException: Invalid XR setup for single-pass, trying to add too many views! Max supported: 1" after entering Play Mode

Reproducible with these devices:
VLNQA00609 - Oculus Quest 3 (Quest 3), CPU: Snapdragon XR2 Gen 2 (SM8550), GPU: Adreno 740, OS: 12
VLNQA00415 - Oculus Quest 2 (Quest 2), CPU: Snapdragon XR2, GPU: Adreno 650, OS: 12

Testing Environment: Windows 11
Not reproducible on: No other environment tested

Notes:
-Project uses HDRP
-Reproducible in Windows Standalone Player and Play Mode
-Reproducible with OculusXR and OpenXR plugins
-Repoducible only with Single Pass Instanced Rendering Mode

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.