- Home /
Huawei P20 Pro Safe Area Issue
Hello, everyone!
I am facing the problem that the safe area on my device shows different results. My device is Huawei P20 Pro. It has notches.
Screen resolution 2240 × 1080
Unity version 2019.4.19f1
So there are three cases:
Correct behavior. Safe Area = (x: 81, y: 0, width: 2159, height: 1080)
Sometimes, for some reason, the safe area is scaled. Safe Area = (x: 54, y: 0, width: 1439, height: 720)
Sometimes, I get safea area without offset. Safe Area = (x: 0, y: 0, width: 2240, height: 1080). This is the worst case, positions of my ui elements become broking.
It seems to me that Unity does not detect Huawei P20 Pro safe area properly.
Has anyone reproduced a similar problem? How to solve it?
Answer by Wangwenjie1991 · Apr 26 at 08:19 AM
anyboy I have the same problem, does anyone have an answer?
Your answer
Follow this Question
Related Questions
Texture looks low-res/chunky/pixelated on mobile 3 Answers
How to make my game fit into my droid? 1 Answer
Android screen Resolution 0 Answers
How do I make on screen buttons in Android? 4 Answers
Android screen size - How to? 1 Answer