How do I make it so the screen is non fullscreened (cannot be full screened) and is a certain size ratio (aspect ratio i think it is)? I tried tinkering with the player settings but with no results.
Through scripting, via Screen.SetResolution . However, width/height ignored when testing in the editor.
In order to get the Player Settings Width/Height values to work, after you already started a build:
The build/player stores the last used screen size in the Windows Registry and reads/restores it when the game starts. Once these values are written to the Windows Registry, “Default Screen Width/Height” have no effect anymore, because Unity reads it from the Registry instead.
To test modified Default Screen settings, it seems you need to remove the Windows Registry key before starting the game. That is at least the only workaround I found to make that work.
These keys are located under:
*Comp…