Search Issue Tracker
By Design
Votes
0
Found in [Package]
12.0.0
Issue ID
1360539
Regression
No
[XR][HDRP] Rendering artifacts appear when adjusting Focal Length of Physical Camera
Reproduction steps:
1. Open the attached "case_1360539.zip" project
2. Load the "SampleScene"
3. Enter Play mode
4. Enable "Physical Camera" for the Main Camera (or "Link FOV to Physical Camera" depending on the Unity version)
5. Set Physical Camera's Lens's Focal Length value to 200
6. Move the headset around and observe the Game view
Expected result: no artifacts appear
Actual result: shadow artifacts appear on the left side of the view (see "CDqe4s128X.mp4")
Reproducible with: HDRP 10.6.0 (2020.3.17f1), 11.0.0 (2021.1.18f1) 12.0.0 (2021.2.0b9, 2022.1.0a6)
Could not properly test with 2019.4.30f1 since downgrading the project breaks it and the old HDRP project uses a different scene
Notes:
- displayed FOV value in the Inspector is incorrect when the Physical Camera is enabled (it still uses a headset FOV but displays the Physical Camera's FOV)
- tested with Oculus XR and OpenXR packages using Oculus Rift
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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Resolution Note:
Using physical cameras in XR applications is not currently supported with XR. We may provide better diagnostic messages or other indications of the incompatibility in the future.