Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X, 2018.4.X
Votes
1
Found in
2017.4.0f1
2018.2.16f1
Issue ID
1102732
Regression
No
[iOS] Screen.safeArea does not change when Screen.width and Screen.height are changed using Screen.SetResolution
Screen.safeArea is using original device resolution and not current resolution so changing resolution using Screen.SetResolution does not change Screen.safeArea
To reproduce:
1. Download attached project "BugUnityProject.zip" and open in Unity
2. Open "SampleScene" scene
3. Build for iOS
4. Deploy the Xcode project to the iOS device
5. Press button "Set Resolution 320x480" or "Set Resolution 640x960"
Expected results: Current resolution changes and Screen.safeArea changes with it
Actual results: Current resolution changes, but Screen.safeArea remains the same as on start
Notes:
- This issue does not reproduce on Windows Standalone, macOS Standalone, and Android (Mono)
- Could not check on Android (IL2CPP) because build fails - Errors are shared in Comments section
- You can force Screen.safeArea refresh by changing the orientation
Tested with:
- iPhone SE, iOS: 11.4.1 - Reproduced
- iPhone 7s Plus, iOS: 12.0 - Reproduced
Reproduced on Unity 2017.4.0f1, 2017.4.16f1, 2018.1.9f2, 2018.2.17f1, 2018.3.0b11 and 2019.1.0a10
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
- Crash when trying to force Shader to interpret 1/30 as a floating point operation
- Terrain is flickering when adjusting "Compatibility Mode" and "Use Rendering Layers" Settings
- Isometric tiles are flickering and overlapping each other when entering Play Mode with Tilemap Renderer mode set to "Chunk"
- Crash on ParticleSystemParticles::array_reserve when particle system starts
- Docking Text Property Preview Window next to UI Builder breaks the window and causes NullReferenceException
franklinruiz10
Nov 29, 2021 10:25
Thank you so much for sharing these amazing tips. who want Academic Writing Services.
essaysnassignments.co.uk/
ameliafernandez404
Dec 28, 2020 15:31
Yes i am also facing this problem can anybody help me out ?
shahid8359
Sep 21, 2020 06:32
site admin is asshole
SatSale
Aug 16, 2020 16:52
If the novice can do the above two points well in the first three months, and at the same time make a little adjustment and control in the diet, the body will obviously undergo good changes. At that time, new specific problems will arise, and then a new fitness plan will be developed to take it to the next level!
https://saturdaysale.com/
https://saturdaysale.com/steel-bite-pro/
https://saturdaysale.com/biotox-gold-review/
https://saturdaysale.com/speechelo-review/
https://saturdaysale.com/meticore/
jamestinker
May 18, 2020 10:45
Transporting the game with the Unity Resolution dialog window open (Edit Menu> Project Settings> Player | Resolution, and Demo: Display Resolution Dialog) is an easy way for users to choose a window or full-screen resolution for the game. Source: https://www.ukacademicwriters.co.uk/assignment-writing-service.php - UK Academic Writers.
HonoratoLang
Jan 28, 2020 10:29
Tracker of the point and the acute term is defined for the prospects for humans. Visits of the https://www.aussiessay.com/coursework-help.php are arranged for the mid of the options. Opportunity is held for the attainment of the abilities. The reform is invited for the fixed approach for the terms.
GravityJack
Jun 20, 2019 00:25
I'm experiencing this issue on 2019.1.7