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
- ":focus" style will not be shown when the UI element is unparented and reparented and the "Focus()" method is called without the "Blur()" method being called
- Crash on BucketAllocator::Allocate when importing TextMeshPro assets
- Playmode dropdown creates continuous "Layout update is struggling" errors at certain aspect ratios
- Editor takes a long time to open VFX Graph 'Subgraph' asset when it is heavily referenced by multiple other VFX Graphs
- "Editor Event Handler Error" error is thrown when using Terrain Tool shortcuts
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.