Search Issue Tracker

Won't Fix

Votes

0

Found in

2019.4

2019.4.15f1

2020.3

2021.2

2022.1

2022.2

Issue ID

1374381

Regression

No

Fullscreen Window mode ignores Supported Aspect Ratios when the player is running and resolution is changed

Windows

-

aspectReproduction steps:
1. Open Display Settings window: Right-Click on desktop > Display Settings
2. Open the attached project "ResolutionBug_QA.zip"
3. Click File > Build Settings > Build and Run
4. Once the player opens, switch windows with Alt+Tab to Display Settings window and change the resolution to 1920x1080
5. When Windows prompts you with "Keep these display settings" window, click the Revert button

Expected result: The resolution is limited to 16:9 aspect ratio
Actual result: The Supported Aspect Ratio is ignored when the display resolution is changed

Reproducible with: 2019.4.34f1, 2020.3.25f1, 2021.2.7f1, 2022.1.0b2, 2022.2.0a1

Notes:
- If the player launches without respecting 16:9 resolution (the player window is not letterboxed), rebuild the project using Exclusive Fullscreen mode, close the player and build once more with Fullscreen Window mode.
-Can't reproduce on macOS
-Reproduced the issue using 32:9 monitor

  1. Resolution Note (2022.2.X):

    The "Supported Aspect Ratios" setting merely removes non-matching resolutions from Screen.resolutions array.

    Unity cannot enforce resolutions based on the supported aspect ratios due to the fact that the machine might not support rendering at resolutions constrained by the supported aspect ratios setting.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.