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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- MultiColumnTreeView does not auto-expand foldouts when autoExpand is set to "true"
- Animation does not control the property of the Gameobject when the keyframe and initial value are the same
- Decal Technique set to Automatic prefers the DBuffer option when using OpenGL
- Brush Size in the Inspector window does not update when the Brush Size in Scene View is changed
- "ArgumentOutOfRangeException" errors are thrown every time a keyboard key is pressed when renaming a component in UI Builder with a symbol and changing the name after label attribute warning
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.