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
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
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)