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
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
- Scrolling vertically and horizontally is very fast when in Play Mode and RuntimeInputBackend is set to UIToolkitInputBackendOption.Default
- Crash on MemoryProfiler::UnregisterAllocation when initializing entities and leaving Play Mode with Occlusion Culling enabled
- Crash on mdb_page_alloc when opening a project that was running while the PC shut down
- macOS Player freeze when using RunInBackground and Command+Tabbing to and from the application
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.