Safearea works correctly in Unity 2019.4.29 but after switch to 2021.3.7 (or 2021.3.8, 2021.3.4) safearea stopped working only on android.
ios devices and device simulator work correctly with the same code.
On all our android devices:
- “safeArea.x” and “safeArea.y” is zero
- “safeArea.width” is equal to Screen.width
Info:
-
only landscape orientation
-
tried android api 30, and 31
-
tried different andoird OS versions (10,12) and different devices