I’ve been working on a standalone game for a bit, but have gotten to the point when it’s time to think more seriously about handling resolution. In Build Settings / Player Settings / Resolution, should I go for the most common PC resolution, which is 1920 * 1080? The second most common is 1366 * 768.
Is it better to go big and scale down or vice-versa? Any additional observations or advice for a beginner would be welcome.
I should add that i have gamescenes and the game is GUI heavy (and will use GUI.Matrix for scaling)
That depends! Generally, if you are developing for web-player, do NOT exceed a 700 pixel height. Many users have smaller screens, and on top of that, the web browser will eat a good 100 pixels of that screen space.
If you are publishing for desktop, I would just let users use the Unity resolution dialog.
If it is of upmost importance that all users have the same resolution ratio, I would recommend iterating through Screen.resolutions and dividing the width by the height until you find a ratio that matches that of your game. If you cannot find one, you can attempt to invent a custom resolution that has your needed ratio, but fits inside the maximum resolution of the given monitor. This may not work in fullscreen mode, though, so be warned.
In my opinion, always scale down. There is nothing more frustrating for me than a resolution so large that it doesn’t even fit on my screen.