Search Issue Tracker

By Design

Votes

0

Found in [Package]

7.4.1

Issue ID

1267017

Regression

No

[URP][XR][XR SDK] World reconstruction (which uses MATRIX_I_V_P matrix) does not work

Package: Scriptable Render Pipeline Universal

-

Reproduction steps:
1. Open attached project ("TestDepthRecURP-develop.zip")
2. Open "Scene" scene
3. Enter Play mode

Expected result: Sphere is white unless there is an object in front of it
Actual result: Sphere is always white

Reproducible with: URP 7.5.1 (2019.4.12f1, 2020.1.8f1, 2020.2.0b6)
Not reproducible wtih: 8.2.0, 9.0.0-preview.35, 10.0.0-preview.26 (2019.4.12f1, 2020.1.8f1, 2020.2.0b6)
Could not test with: 2018.4.28f1 (URP not available)

Notes:
- Changing "USE_PASS_VP_MATRIX" define in "DeclareDepthTexture_Dev" to 1 or 0 returns different results:
-- URP 7.5.1, 8.2.0, 9.0.0-preview.35, 10.0.0-preview.26 Standalone
--- USE_PASS_VP_MATRIX = 0 : FAILS
--- USE_PASS_VP_MATRIX = 1 : SUCCESS

-- URP 8.2.0, 9.0.0-preview.35, 10.0.0-preview.26 XR SDK, Oculus (Multi Pass, Single Pass instanced)
--- USE_PASS_VP_MATRIX = 0 : FAILS
--- USE_PASS_VP_MATRIX = 1 : SUCCESS

-- URP 7.5.1, XR SDK, Oculus (Multi Pass, Single Pass instanced)
--- USE_PASS_VP_MATRIX = 0 : FAILS
--- USE_PASS_VP_MATRIX = 1 : FAILS

  1. Resolution Note:

    URP7 and URP8 do not support UNITY_MATRIX_I_VP. URP10 added UNITY_MATRIX_I_VP support and we verified it works as expected.

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.