Search Issue Tracker
In Progress
Fixed in 2023.1.0b5, 2023.2.0a1
Fix In Review for 2021.3.X
In Progress in 2023.3.X
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
- 3D Sample Scene (HDRP) template tutorial Welcome Dialog pop-up doesn't appear on project creation
- [Profiler] The Addressable Asset Module module outputs an ArgumentException when asset GUIDs produce a hash collision with Addressables
- Huge amounts of tests have a start delay when pressing "Run All" in the Test Runner
- Blackboard: Double borders around the tooltip
- [WebGL]VideoPlayer Rendering stops when setting FilterMode of a texture downloaded with UnityWebRequestTexture.GetTexture()
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 2021.3):
Fixed _WorldSpaceCameraPos is not set correctly in XR Multipass.