How to fix resolution building to samsung S10e

Hello fellow Unity members,

For school I have to develop a game in the android 2d template and when I build it to my phone, it gives me a resolution completely different from the resolution I see on Unity. I first used the free aspect one but after that I used the resolution that my phone has 1080x2280. But it still is not the same and I find it hard to design with a mixed resolution between my unity play tab and my build on my phone

Could someone help me find a solution because I am pretty new and have no clue how to fix this.

Thanks in advance.

Use the device simulator https://docs.unity3d.com/Packages/com.unity.device-simulator@2.2/manual/index.html

Additionally, what you see in the gameview window is not the resolution the game will use, its just a preview. The game will always use the device resolution on mobile, you need to work around this.

Anyway use the device simulator to get an accurate preview of devices screen in unity, to aid with developing.

1 Like

Thank you, I will try this out tomorrow!

1 Like