I am trying to write my own in game resolutions setting menu so I can hide the startup dialog and restrict certain resolutions.
When I try to use the resolutions array of Screen it always returns 1 instead of an array of all supported fullscreen modes as per this documentation.
I tried this in Awake, Start and Update and it always returns 1.