Small application window?

It seems Unity adjusts the requested screen resolution to whatever is the nearest actual supported fullscreen resolution, even for windowed mode applications (presumably because if you set it to something unusual and switch to fullscreen mode it would not work?) … but I want a window smaller than 640x480 … is this in any way possible?

Disable the resolution dialog, and whatever is set for default screen width and height is used for the window.

–Eric

Actually no it isn’t. If I set the res in the editor and build the app without the dialog, it still starts up in whatever the resolution was when I last had the dialog activated.

In other words, what I have found, is that you must set the required resolution in the resolution preferences file (plist in users/username/preferences/unity.whatever.plist on mac), then when the app runs in windowed mode it’ll use the exact size given.

For me, setting the res in the editor did not cause the windowed app to start at that res, since it was pulling from the pref file which was set previously.

So I got it working. What I need to figure out now is whether it’s possible to open the windowed app either in hidden mode (to unhide later) or off-screen somehow so that I can later move it into position?

Hold on, you were right, if I delete the previously saved preference file and set the size in the editor it does work… and also when you exit the program is writes the preference file anew. Next time around it will load from the preference file regardless of what the setting was in the editor.