- Home /
Scene is zoomed in when I click play?
So continuing my game, and I found that when I click the play button, the whole scene zooms in abnormally, which is not what the camera preview says it should do... The one script I can think of that may be causing this problem is that during runtime I make the player a parent of the camera, but this worked great for a while.
Answer by pajamajama · Dec 28, 2018 at 08:30 PM
I had a similar issue. It seems that if the editor scaling settings are set to a specific resolution, the game window will try to zoom to that resolution now when in play mode.
For me the fix was specifying an aspect ratio instead of a specific resolution. For example, 9:16, instead of 1080x1920.
Answer by eanjo7 · Apr 14, 2019 at 10:16 AM
This one is a unity bug and will happen to you after you install unity. It will automatically zoom in on you scene once you hit the play button. Its really annoying and they still doesnt fix it on every unity update.
Answer by RocketFriday · Feb 26, 2018 at 07:38 AM
Check to make sure that all the setting for your game-view are correct particularly "Scale", next make sure your camera's field of view isn't set too low. Make sure the aspect ratio matches your screens resolution.
If all this is correct, either try to find anything in your code that changes camera settings or upload the suspected script (or parts of) so someone can find the problem.
Your answer
Follow this Question
Related Questions
Camera Is glitching when I move 1 Answer
How to move a camera only using the arrow keys? 7 Answers
Camera background glitches, drawing multiple images of gameobjects on the background 0 Answers
How do I tell a button to move my camera!? 1 Answer
How to stop the player rotation after i stop the camera? 1 Answer