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.

  1. 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.

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.