Search Issue Tracker
Fixed in 2021.3.31f1
Fixed in 2021.3.X, 2022.3.X, 2023.2.X, 2023.3.X, 2023.3.0a5
Votes
3
Found in
2021.3.19f1
2022.3.0f1
2023.2.0a10
2023.3.0a1
Issue ID
UUM-47881
Regression
Yes
[XR] Camera.stereoEnabled returns true for all cameras if XR is enabled
Steps to reproduce:
1. Open the attached user's project "MkGlowBug1.zip"
2. Create a script for the "Main CameraExternal" GameObject and add this line to the Update function "Debug.Log("stereoEnabled: " + renderingCamera.stereoEnabled + "|" + this.name);"
3. Enable Oculus Link in Quest 2 and Enter Play Mode
4. Observe the Console Outputting StereoEnabled true while it should be false for the External Camera
Expected results: Camera.stereoEnabled returns true only for Camera's that render to a stereoscopic output
Actual Results: Camera.stereoEnabled returns true for all cameras if XR is enabled
Reproducible with: 2021.3.19f1, 2021.3.22f1, 2022.2.14f1, 2023.1.0b12, 2023.2.0a10
Not reproducible with: 2021.3.18f1
Could not reproduce on 2020.3.47f1 due to package errors when downgrading
Reproducible with these devices:
Quest 2
Environment: Windows 10 22H2
Notes:
-Expectation is that the Main Camera has stereoEnabled==true, while the external camera has stereoEnabled==false since it does not render to a stereoscopic output.
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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Resolution Note (fix version 2023.2):
Bug fixed so stereo Enabled Boolean no longer always returns true.
Resolution Note (fix version 2022.3):
Resolved Bug so stereoEnabled no longer always return true.
Resolution Note (fix version 2021.3):
Bug fixed so stereo Enabled Boolean no longer always returns true.