Screen.resolutions only returns up to 1920x1080
I'm currently looking into runtime modification of display resolution and was expecting to use Screen.resolutions to give me a list of valid options. However, I notice that it only returns resolutions smaller than or equal to 1920x1080 on a standalone build.
I'm running a 4K monitor on Windows and 3840x2160 shows up fine in the launch options, but not via script. I've disabled my second monitor (which does have a max resolution of 1920x1080), but that hasn't helped.
Is there a way to reliably query the supported resolutions in-game?
Note: in-editor I get an accurate list of resolutions for my main display.
Your answer
Follow this Question
Related Questions
Strange pixels on sprites after build on Android 0 Answers
Display issues, Unity 2019 is not compatible to Windows 10? 0 Answers
Force top black bar on Android devices 1 Answer
[Linux] Resolutions for Rotated Screens 0 Answers
Game view in 1x scale looks fine, but building and playing seems to be in 2x scale. 1 Answer