Unity Issue Tracker - Screen.SetResolution() ignores width and height parameters when switching from Fullscreen to Windowed mode
Fixed
UUM-114407
Screen.SetResolution() ignores width and height parameters when switching from Fullscreen to Windowed mode
Unity: Windows
Open
6.5.X
In Progress
6.4.X
6.3.X
6.0.X
Fixed
6.6.X
6000.6.0a1
Won't Fix
6.2.X
Thank you for reporting a bug to Unity.
While we are aiming to fix this issue in future releasesof Unity, there are no more releases of the 6000.2 stream planned so we are closing this particular port of the bug report.
Reproduction steps:
1. Open the attached “IN-110600.zip” project
2. Build and Run the project (File > Build and Run)
3. In the Player, enable the “Fullscreen” checkbox
4. In the resolutions dropdown, select the lowest available resolution in the list (e.g., 1280x800)
5. Disable the “Fullscreen” checkbox
6. Observe the resolution of the Player
Expected result: The Player window should be automatically set to 1920x1080 resolution (or whatever the first windowed resolution option is)
Actual result: The Player window remains at the previous fullscreen resolution (1280x800)