Search code examples
c#unity-game-enginegame-enginegame-development

How do I keep the camera from changing its size?


I have attached two screenshots to my problem. Basically on resizing the Game view window the camera size also gets resized and the objects get moved when pressing play. How do I solve this?

Screenshot for view when I'm working

Screenshot for Maximized view on play


Solution

  • On your game view, you are in "Free Aspect" mode, which does exactly the behaviour you don't want.

    You can use your standalone resolution, or define custom ones.