- Home /
In a multi monitor setup, game centers itself off-screen after switching resolutions
See title ^^^
After I switch game resolutions in-game to 1920x1080, unity decides to auto-center the game's window like so:
http://i.imgur.com/me0L3Af.png
and it also centers it there if i quit and launch it again. The only way to get it back is to set resolution in the startup-dialog again.
I feel like this is a bug with Screen.SetResolution, but is there a workaround?
(left screen is 1080x1920, the other 2 are 1920x1080, all the same model)
Additionally, all other resolutions work fine, and this only happens when trying 1920x1080. My guess is it's trying to account for the task bar (monitor 2) and deciding it can't fit it on one monitor, which is undesirable behavior.
Your answer
![](https://koobas.hobune.stream/wayback/20220613142510im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Fixing screen resolution 1 Answer
Is The Last Element of Screen.Resolutions Always The Native Resolution? 1 Answer