Search Issue Tracker

By Design

Votes

0

Found in

2019.4.29f1

2020.3

2021.1

2021.2

2022.1

Issue ID

1348767

Regression

No

Resizable Window size is not being reset when Resizable Window setting is unchecked

Window management

-

Reproduction steps:
1. Create a new Unity project
2. Go to File -> Build settings -> Player Settings... -> Player -> Resolution and Presentation
3. In the Standalone Player Options check "Resizable Window"
4. Go to the Build Settings and Build And Run the project
5. Resize the Player window
6. Close the Player
7. In the Project Settings window uncheck "Resizable Window"
8. Go to the Build Settings and Build And Run the project

Expected result: The Player window has the dimensions that are set in the Player Settings
Actual result: The Player window has the resized dimensions

Reproducible with: 2019.4.29f1, 2020.3.13f1, 2021.1.14f1, 2021.2.0b1, 2022.1.0a1

  1. Resolution Note (2022.1.X):

    This is by design. Unity player will always start at the resolution it was closed with. Resizable window player setting only affects whether the window border is resizable but there are other ways to do it: pressing alt enter to enter full screen, dragging the window or a lower or higher DPI or different resolution display (in which case Windows resizes it automatically) or changing it via Screen.SetResolution API. Unity doesn't care what the source of the resize is and will always remember it.

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.