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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.