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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.