Search Issue Tracker


Fixed in 2020.3.X



Found in






Issue ID




[iOS 15] Screen.safeArea.width returns incorrect value when device's orientation is switched to landscape mode



Reproduction steps:
1. Open the attached project ""
2. Build and Deploy the project on a device
3. Hold the device in Portrait mode and rotate it to switch to landscape mode
4. Observe the values displayed in the Build

Expected result: The first value in the line "Safe" is smaller than the first value in the line "Real"
Actual result: The first value in the line "Safe" is equal to the first value in the line "Real"

Reproducible with: 2019.4.32f1, 2020.3.22f1, 2021.2.2f1, 2022.1.0a13

Reproduced on:
- iPhone 13 (iOS 15.0)

Does not reproduce on:
- iPhone 12 mini (iOS 14.1)
- iPhone 6 (iOS 12.4.8, safe area is supposed to be equal to actual)
- iPhone 7 (iOS 12.3.1, safe area is supposed to be equal to actual)

  1. Resolution Note:

    Fixed in 2022.1.0a14

  2. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.32f1

Comments (14)

  1. tessellation

    Jan 06, 2022 06:03

    For other developers that can't wait for a backport of this fix to Unity 2020, you can install the latest Unity 2022.1.0 beta and then copy the following files back to Unity 2020 from the PlaybackEngines/iOSSupport/Trampoline/Classes folder:


  2. MartinG

    Jan 03, 2022 10:57

    A fix in LTS Versions would be great! We still have apps on Unity 2018.4.34.

    The bug occurs, if apps are built with XCode 13.x and then only occur on iOS15.x devices. iOS 14.x works.

    If the apps are built with older XCode, for example XCode 12.5.1, then the safeArea works on iOS 14 and iOS 15 devices.

  3. RyannKim

    Dec 23, 2021 21:33

    Same problem here!

  4. tessellation

    Dec 16, 2021 20:26

    Please back-port to 2020.3 LTS, ASAP. We were hoping this would be in 2020.3.25f1, but alas it was not fixed. Apple released iOS 15 on September 20th, so we've had to put up with this bug for almost 3 months now. If you have a work-around, please post code. Thanks!

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.