- Home /
Why does Game tab's scale get reset to 1 every time I click Play?
I am working on a mobile game, so I set the screen size in the Game tab to a phone resolution, for eg. iPhone 1334x750 Portrait. I see the whole game screen.
Then when I hit play, the Game tab's scale gets reset to 1. This causes the view to be zoomed in. I have to drag the scale slider back to the far left eg. 0.29 in order to see the whole game screen.
OR I can drag the edge of the Game tab a bit to resize it which sets the scale to the far left for me.
Then when I stop the game and hit Play .. again the scale sets back to 1.
BTW I am using 2018.3.0b6
I know this one from a similar case and it's annoying. has been around since 2017.1 at least. I filed a bug report then because the "set back to 1" happened after recompiling code. too bad that issue is still active. maybe you can file another with your findings and link $$anonymous$$e.
https://issuetracker.unity3d.com/issues/switching-between-platforms-results-into-game-views-resolution-slash-aspect-ratio-scale-settings-not-changing
Answer by AndyKozak · May 07, 2019 at 01:16 PM
Seems Unity reset scale to "fit pixels". Try to change from resolution to appropriate aspect ratio (16:9, 4:3, etc.).
Your answer
Follow this Question
Related Questions
Play Mode camera is not resetting to set transform. 0 Answers
Keep List data between 'play' tests 1 Answer
Keyboard fails to work during play mode but OK in build. 1 Answer
Gradient Changes in Editor Reset In Play Mode. Why? 1 Answer
Make script changes in real time (without being in play mode)? 1 Answer