Search Issue Tracker
Won't Fix
Votes
0
Found in
2020.3.39f1
Issue ID
UUM-16362
Regression
No
Player window does not scale resolution/aspect ratio when going from windowed to fullscreen mode by ALT + ENTER
Reproduction steps:
# Open the user attached project
# Press File → Build And Run
# Scale down the Player window horizontally
# Press ALT + ENTER
Expected result: The player window resizes to fill the whole screen, no black bars
Actual result: The player window does not resize to fill the whole screen, black bars
Reproducible with: 2020.3.39f1, 2021.1.28f1, 2021.2.0b9
Not reproducible with: 2021.2.0b10, 2021.3.9f1, 2022.1.14f1, 2022.2.0b6, 2023.1.0a8
Reproduced on: Windows 10
Additional info:
This issue was [addressed in 2021.20b10 release|https://unity.com/releases/editor/beta/2021.2.0b10] as an "improvement" (not a customer reported bug):
Windows: Alt + Enter now defaults to native resolution rather than the resolution that the window was in windowed mode. This makes the image more crisp and reduces the chance of letterboxing.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mouse device is disabled in Play Mode when the "Device Simulator" tab is present as an inactive tab and Game view is not maximised
- GameObject with the Visual Effect Component is not rendered in the Scene view when it is reenabled in the Inspector and the Play mode is paused
- Prefab icon blends in when selected in Project window with the Light Editor theme enabled
- Textures from other Sprites in the Assets leak into Sprite Renderer Sprites when Sprite Atlas v2 is used
- Errors “UI Error: Invalid GUILayout state in TestRunnerWindow view“ and “ArgumentException: An item with the same key has already been added“ are present when running tests with names that duplicate after truncation in the Test Runner window
Resolution Note:
When opening your project on a fixed version, you may still see black bars when building and running your project. This is because the build player's saved settings are stale and need to be cleared.
To do this, you can remove the registry key at HKEY_CURRENT_USER\SOFTWARE\{company}\{product}
You may also be able to press alt+enter twice to go into windowed mode then back into fullscreen mode.