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
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
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
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.