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
- 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 (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.