Screen.SafeArea doesn't work in iOS

Unity Version: 2019.4.22.f1
Device: iPhone 13 Pro
iOS Version: iOS 15.5

I use the same version of unity, the same mobile device,
Game “A” can read Screen.SafeArea, but Game “B” cannot.

in game “B”:
Screen.height = 2532
Screen.safeArea = (x:0.00, y:0.00, width:1170.00, height:2532.00).
Screen.safeArea.yMax = 2532.
Screen.safeArea.yMin = 0.

Screen.SafeArea is the same as Screen.Height
Does it need some special configuration to take effect on iphone?

2 Likes

same problem