I have a player with multiple monitors who says that he’s not being offered more than a single display resolution to choose from. He writes:
"I have two LGs a Ultragear+ widescreen and a Ultrawide, plus a ViewSonic TD2760.
"While on the Ultragear+ my main gaming monitor my only choices are: 1920x1080 with 60, 100, 120, 144 or 240 Hz. This is my primary monitor.
“I switched my resolution on the main monitor from 5120x1440 to 3840x1080. No changes to the available resolutions in [the game]. After returning the monitor back to the 5120x1440 you have the same choices again.”
The game, in turn, simply gathers the supported resolutions using Unity’s built-in Screen.resolutions. I’m completely at a loss as to why Unity wouldn’t be gathering all of the supported resolutions for this player’s main monitor. Does anyone have any suggestions as to what I can do to address this? Or is this just a bug in Unity outside my power to fix?
Check if “main monitor” is just what the user thinks is the main monitor. They may be referring to the one that’s centered, or biggest. But Windows might consider it the secondary monitor (ie #1 not #0).
There’s also a number of issues associated with monitors using different aspect ratios, refresh rates, with and without gsync/freesync, and so forth.
The best solution is really to deal with the problem of giving users the choice which monitor the game renders on or launches on. The user I think can also influence this by launching the game on that specific monitor rather than force switching it to another monitor while it is running (in case user does that). There may be cmd arguments you can pass along to force this (check manual).
If your game is exclusive fullscreen: fix that, use borderless window instead. This is much friendlier to multi-monitor setups, aspect ratios, and users in general.
In my experience borderless windowed performs worse than exclusive fullscreen (on Windows). I agree that borderless window is better in general, but in some cases exclusive fullscreen can make the difference between 55 fps and 60. So it should always be an option in the options menu.
I’ve experienced games that just wouldn’t vsync without exclusive fullscreen, or kept showing the mouse cursor. But the opposite is also true where the exclusive fullscreen switch (even when matching desktop resolution) can force reset monitors and specifically projectors, where it may take 10-20s before they show a picture again.