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
- Lights with Cookies generate Cookie Atlas and increase Memory usage every time when Play mode is entered
- Crash on mono_traverse_object_internal when exiting Play mode on a specific project
- Camera prefab shows up in overrides after upgrade when game view is changed to Simulator
- Prefab Override context menu does not appear when changing attributes on a Terrain Component
- Particles are visible through Mesh when Sprite-Lit-Default Material is used
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"