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 Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
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.