Background and UI scalings are wrong

Hello,

First, I know I can use “Scale with screen size” and “Screen match mode”, I’m actually already doing it but I’m facing an issue. I never have the same images. I let you take a look.

Here is the “#Scene” overlay:
alt text

Here is the “Game” overlay:
alt text

Here is the same scene on the build of the game:
alt text

Here are the setting of my scene:

  • Render mode: "Screen Space - Camera. I put my only camera inside below.
  • UI Scale Mode: “Scale With Screen Size”
  • Reference resolution: 1920*1080 (my screen size)
  • Screen Match Mode: “Expand”
  • Background image is a gameobject UI image inside the canvas such as the white button.

Should have any idea, please feel free to share, this starting to drive me crazy! Of course, if you need further information, feel free to ask! :slight_smile:

First, Go to your Game tab in unity.
As you can see on the upper right beside the game tab, it is set to free aspect.
Change it to 1920*1080. I believe that resolution is not there by default so you can add it yourself.
Then you can see how the actual build would look like.