Search Issue Tracker
Fixed
Fixed in 2.1.12
Votes
0
Found in [Package]
2.1.9
Issue ID
XRLIH-5
Regression
No
Orthographic Projection is not changed to Perspective when converting the Main Camera to the XR Rig
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Convert the Main Camera to XR Rig (GameObject > XR > Convert Main Camera To XR Rig)
4. In Hierarchy, expand “XRRig” and “Camera Offset”
5. Select “Main Camera”
6. Observe the Inspector window
Expected result: The Projection is set to “Perspective” or an Error message is thrown
Actual result: Projection is set to “Orthographic”
Reproducible with: 4.2.0 (2022.1.24f1), 4.4.1 (2021.3.35f1, 2022.3.19f1, 2023.2.9f1, 2023.3.0b5)
Reproducible on: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- The Orthographic Projection is not supported by VR
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
- Active quality level set on a new Universal 2D project is not the default quality level when creating a new project
- Inspector Open button does nothing when navigating to a different folder with a locked asset
- Pre-generated XML serializers fail to deserialize types that use polymorphism when the Player is built with the IL2CPP scripting backend
- Editor crashes with error "Failed to present D3D11 swapchain due to device reset/removed" and Player freezes when rendering a particle system while using modified URP package on DX11
- Crash on Scripting::LogException when async HTTP callback executes after scripting domain teardown
Resolution Note (fix version 2.1.12):
Fixed camera projection type when converting an existing camera to an XR rig to ensure resulting camera is not set to orthographic.