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
- Texture displays visual artifacts and has a broken aspect ratio when it is imported in RGB 48-bit format
- Diagnostic Warning Resets When Navigating Away and Returning to Diagnostics Settings
- Checkbox Collides with Text in Shader Graph Preferences Settings
- Crash on mecanim::animation::TransformValuesFromClip when entering the Play Mode in a project with Animancer Pro v8
- Connection to Named Pipes fails when server and client are run
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.