Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0a1
2018.4.0f1
2019.1.0a1
2019.2.0a1
2019.3.0a2
Issue ID
1154346
Regression
No
[Windows] Screen.fullScreenMode does not return MaximizedWindow when maximizing the window of a built project
How to reproduce:
1. Open the Scene "SampleScene" in the attached "case_1154346.zip" Unity project
2. Build the project and run it (File -> Build and Run)
3. Press "Play!" and maximize the game window
Expected result: the text on the display says "MaximizedWindow"
Actual result: the text on the display says "Windowed"
Reproducible with: 2018.4.1f1, 2019.1.4f1, 2019.2.0b3, 2019.3.0a3
Note: not reproducible on Mac. Screen.fullScreenMode was introduced in 2018.3. In version 2019.3.0a1 maximizing sets the mode to full screen.
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
- Addressables Report window UI is broken when opening via Build > New Build > Default Build Script
 - Addressables Profiles window UI break when creating a new Variable with a long name
 - No character limit when renaming Profile in Addressables Profile window, allowing excessively long names
 - Blurry, low quality Active Profile icon used in Addressables Profiles window
 - Tree Asset Preview window is not updated after assigning a new Material
 
Resolution Note (2019.3.X):
This value only applies to "full screen" state and NOT the state of the window, that is "Windowed" mode is always use if the app is displayed in a "window" (as defined by the OS) irregardless of the size or state of that window.
In Mac OS terminology, it means the app display is "full screen" but the Doc and Menu Bar are still visible, whereas "Windowed" mode is used even if the Mac window is "zoomed".
Windows doesn't have the same concept of a Maximized Fullscreen display like OSX does and so this setting is not supported on Windows. If you attempt to set this value, it will simply fallback to 'FullscreenWindow' with a Warning logged to the debug console: "MaximizedWindow is not currently supported on Windows, setting to FullsceenWindow instead"