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
- Crash on `anonymous namespace'::PrepareTreesAndWriteWindParamsJobData::Execute when entering Play Mode on a specific project
- Errors "InvalidOperationException: Trying to use a texture (_InternalGradingLut)..." and “Render Graph Execution error” shown and Scene turns black when 16 or more Render Objects are used
- GameObjects in the Game View are rendered differently than in the Scene View when the Rendering Path is set to "Deferred" and Screen Space Shadows Renderer Feature is added
- Errors “InvalidOperationException: Trying to use a texture (_CameraDepthTexture)...” and “Render Graph Execution error” shown when selecting GameObjects with Mesh Renderer from the Hierarchy
- macOS stutters in a minimal project
This is a duplicate of issue #UUM-51667