Can't build a PC standalone with custom window...

Hi all,

I’m just beginning to learn Unity and just finished the Space Shooter tutorial.
In the tutorial, the build is a web player (dimensions 600 * 900).
The problem is that when I make a PC standalone version, Unity doesn’t build the correct window width and height, even if I choose the same dimensions as the web app :

Is it possible to have a custom windows size for standalone app with Unity ?
Any help would be appreciated :slight_smile:

Try to use the following in the Awake() or Start() method of one of your scripts.

Screen.SetResolution(900, 600, false);

Should be a script thats actually exectuted on startup of your game of course =)