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
- Manual reference page for Grid Selection is missing
- Awaitable.NextFrameAsync causes GC Alloc 0.7 KB when using CancellationToken
- Prefab "Overrides" list item popups are overridden when navigating with keyboard arrow keys
- Alpha Tolerance setting does not affect generated outlines when generating Custom Physics Shape in the Sprite Editor
- The information/help message section misses a margin in the "Profiler" window
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)