Search Issue Tracker
Fixed
Fixed in 2021.3.32f1, 2022.3.13f1, 2023.1.0b5, 2023.2.0a1
Votes
1
Found in
2023.1.0a1
2023.2.0a1
2023.3.0a3
Issue ID
UUM-2514
Regression
No
[XR][URP][MultiPass] _WorldSpaceCameraPos is not set correctly for both eyes
In multi-pass rendering mode the world space camera position value is the same in both eyes, resulting all view dependent fragment shading to be incorrect. This includes reflection, parallax mapping, specular lighting, etc.
Steps to reproduce:
1. Create a URP project.
2. Install XR Plug-in Management and necessary vendor plugins or MockHMD.
3. Setup a simple scene that uses reflection probe, and put some shiny (reflective) cubes inside the reflection probe.
4. Switch "Render Mode" under current active device in XR Plug-in Management to "Multi Pass".
5. Play or deploy the scene.
Move your head / camera around and observe the reflection on the shiny cubes.
Expected result: The reflection probe cubemap is sampled from different view angles in left/right eyes, creating a reflection with depth on the cubes.
Actual result: The reflection probe cubemap is sampled from the same view angle in left/right eyes, creating a flat reflection on the cubes.
Note: The difference would be subtle if only comparing screenshots, it's the best to put on a headset and observe.
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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (fix version 2023.2.0a1):
Fixed _WorldSpaceCameraPos is not set correctly in XR Multipass
Resolution Note (fix version 2023.1.0b5):
Fixed _WorldSpaceCameraPos is not set correctly in XR Multipass.
Resolution Note (fix version 2022.3.13f1):
Fixed _WorldSpaceCameraPos is not set correctly in XR Multipass.
Resolution Note (fix version 2021.3.32f1):
Fixed _WorldSpaceCameraPos is not set correctly in XR Multipass.