To duplicate bug:
Set game resolution to 2560x1600, with UI scale 2.0. Everything is fine.
Exit and restart game. Everything is fine.
Load a game: the resolution is instantly reduced to 1280x800, with the UI scale remaining 2.0. This drives much of the content off the screen, and makes it quite difficult to fix; fortunately, with blind clicking on now-empty buttons, it's possible to find a higher resolution and switch to it... there is exactly one button that works on my 2560x1600 screen at UI 2.0, which is 2048x1536. Once in that mode, the 2560x1600 button becomes visible, and the problem can be resolved until the next restart.
Expected behavior: Once setting 25x16 and UI scale 2, that oughta just stick and work. The logical resolution is likely to be 12x8, and the code seems to be confusing that virtual resolution with the real thing.
I can make screenshots if you need them or can't reproduce the problem locally. It's likely to be an extremely minor problem.
edit: after seeing the other resolution post, this is probably the same bug. However, I can confirm that Steam is not an issue here, as I'm not using the Steam version, and I deleted the Ludeon directories out of Appdata as a first troubleshooting step.
I'm reasonably sure that the code is referencing the wrong variable, and setting the physical resolution of the screen to the virtual resolution after scaling.
May be the same issue, but I'm sure it's related even if it isn't.
I play at 4K (borderless window), with UI Scale set to 2x.
Here's a screenshot right after loading from a save game:
(http://i.imgur.com/uwfUCOnm.jpg) (http://imgur.com/uwfUCOn)
What I've found that works is doing the following:
1. Lower UI Scale to 1x (Before/After screenshots below)
(http://i.imgur.com/NwpLI0mm.png) (http://imgur.com/NwpLI0m) (http://i.imgur.com/9Wkihdwm.jpg) (http://imgur.com/9Wkihdw)
2. Reapply desired Resolution; in my case, it's 3840x2160 (4k)
(http://i.imgur.com/CmO3i5Hm.jpg) (http://imgur.com/CmO3i5H)
3. Reapply desired UI Scale (Before/After screenshots below)
(http://i.imgur.com/FPfxAdsm.jpg) (http://imgur.com/FPfxAds) (http://i.imgur.com/2caR3ajm.jpg) (http://imgur.com/2caR3aj)
It's certainly not ideal, but it works for me. Maybe it'll be helpful for someone else until this issue gets resolved.
I can confirm. I play on a 1920x1200 Laptop screen and had to scale UI as well (1.5x size, pixel based scaling is not ideal, I hope Tynan can do better).
-> Rimworld tends, maybe in entering a new game, to set resolution to 1280x800.
The workaround I'm using: avoiding UI scaling completely. I'm just playing it the way I played before, by setting the UI scale to 1, the resolution to fullscreen 1280x800, and letting the graphic card do the scaling instead of the game. The results are basically identical, although I do have to use fullscreen mode to make it work.
Quote from: Malor on December 20, 2016, 07:05:22 PM
I'm reasonably sure that the code is referencing the wrong variable, and setting the physical resolution of the screen to the virtual resolution after scaling.
Yeah, this seems to be it.
EDIT: It turns out you can just load the game over and over and each time the resolution will divide down by your UI scale.
Unity is doing something it shouldn't be doing since there's no resolution change code running. It's just opening a new scene...
Ok, I fixed this. It'll be in next update. Thanks for the reports.