Game View is Different with Game Preview.

Hi All, I met a problem. I want to set an image as the background of a game. When I click the “Game” button next to the “Scene” button, it looks good as the 1st attached file.
But if I click the “Play” button and it will look like the 2nd attached file. I do not understand why the preview is different with the real game. I only have one camera at this time.
Thanks for any advice.



Hi @Jambako ,

Try changing the Canvas Scaler component to scale with your screen.

You can find more info about it here: Canvas Scaler | Unity UI | 1.0.0

Good luck with it!

1 Like

Thank you @DiegoDePalacio_1 , I correct the Canvas Scaler > UI Scale Mode > Scale With Screen Size, then it works. Thank you so much!

1 Like

My pleasure! :wink: