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
- Some package directories are not found, and errors are thrown in the Console when the project path is quite long
- Code runs slower when using a cached exception instance compared to creating a new one
- Broken UI in Default Preset Add Section of "Preset Manager" window
- [iOS] The Player freezes when closing the Notification Center and quickly swiping down from top
- Crash on Texture2D:SetPixelImpl when rapidly calling Texture2D.Apply()
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"