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
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- Constant console errors when using Min/Max Slider in PlayMode
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
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.