Search Issue Tracker
Duplicate
Votes
0
Found in
2021.3.37f1
Issue ID
UUM-69533
Regression
No
Safe Area incorrect on iPads with virtual home button running iOS 14
How to reproduce:
1. Download and open the attached "NativeSafeArea" project
2. Deploy the Xcode project to iPad with a virtual home button
3. Observe Safe area output in the Xcode console
4. Download and open the "1785086_Safe_Area" project
5. Repeat steps 2-3
Expected outcome: The Safe Area values match
Actual outcome: The Safe Area values differ
Reproducible with: 2021.3.37f1, 2022.3.24f1, 2023.3.0b10, 6000.0.0b15
Reproduced on: iPad Air (4th generation) (iOS 14.6), iPad Air (4th generation) (iOS 15.2.1)
Note: Error is caused by the Unity generated ComputeSafeArea method (lines 246-273) in 1785086_Safe_Area/Build/Classes/UI/UnityView.mm lines. This code assumes status bar height is always 20, but iPads with a virtual home button have a status bar height of 24.
-
Resolution Note:
null
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-51667
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
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
This is a duplicate of issue #UUM-51667