Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
0
Found in
2018.4
2019.4
2019.4.1f1
2020.2
2021.1
2021.2
Issue ID
1307839
Regression
No
[iOS] verticalOrientation deprecation warning is missing information about ScreenOrientation.PortraitUpsideDown
Reproduction steps:
1. Open project attached in "New Unity Project (14).zip"
2. Open Test.cs script
3. Hower the mouse above UnityEngine.IphoneSettings.verticalOrientation
4. Inspect the warning
Expected result: UnityEngine.IphoneSettings.verticalOrientation is obsolete: verticalOrientation property is deprecated. Please use Screen.orientation == ScreenOrientation.Portrait || Screen.orientation == ScreenOrientation.PortraitUpsideDown to check if the device is in vertical orientation (or something along those lines to indicate that Screen.orientation == ScreenOrientation.Portait is not the same as verticalOrientation)
Actual result: UnityEngine.IphoneSettings.verticalOrientation is obsolete: verticalOrientation property is deprecated. Please use Screen.orientation == ScreenOrientation.Portrait instead
Reproducible with: 2018.4.32f1, 2019.4.21f1, 2020.2.6f1, 2021.1.0b8
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
- Rigged GameObject doesn’t return to its idle state when disabling "Preview" and the GameObject has nested rigged GameObjects
- Error "ArgumentException: Trying to use an invalid resource" when creating custom post-processing effect in URP
- [DX12] GameObjects using CommandBuffer DrawProcedural and DispatchCompute calls have color flicker when changing color and moving mouse cursor
- The Player becomes unresponsive after resolution switch in Exclusive Fullscreen mode when using DX12 Graphics API
- (Apple Silicon) Floating point inconsistencies between mono and il2cpp
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a13.1792
Resolution Note (fix version 2021.1):
Fixed in 2021.1.6f1.2425
Resolution Note (fix version 2020.3):
Fixed in 2020.3.8f1.417
Resolution Note (fix version 2019.4):
Fixed in 2019.4.26f1 (e0392c6b2363)