Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How to fix resolution building to samsung S10e

Discussion in 'General Discussion' started by pascalpluimers03, Feb 25, 2021.

  1. pascalpluimers03

    pascalpluimers03

    Joined:
    Feb 25, 2021
    Posts:
    3
    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.
     
  2. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,877
    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.
     
    Ryiah likes this.
  3. pascalpluimers03

    pascalpluimers03

    Joined:
    Feb 25, 2021
    Posts:
    3
    Thank you, I will try this out tomorrow!
     
    MadeFromPolygons likes this.