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
- Compiled Shader code has self-assignments and redundant code in the Shaders that use "enable_d3d11_debug_symbols"
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
- "Unable to get the list of approved APIs." is thrown when testing the App Packages with Windows App Certification Kit
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.