Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.3.7f1
2018.4.0f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1162730
Regression
No
No command line argument for running the Standalone in Exclusive Fullscreen mode
How to reproduce:
1. Open attached project "Exclusive.zip"
2. Build the Standalone
3. Create a shortcut of the .exe
4. Add a command line argument -window-mode exclusive or -screen-fullscreen 2, apply changes
5. Run shortcut
6. Observe top-left corner of the Standalone
Expected result: the Standalone runs in exclusive fullscreen mode
Actual result: the Standalone runs in regular fullscreen mode
Could not test with: 2017.4 due to "Screen" class not implemented yet
Reproducible with: 2018.4.3f1, 2019.1.9f1, 2019.2.0b7, 2019.3.0a7
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (2019.3.X):
Unfortunately, the only workaround for you would be to implement some logic via script:
https://docs.unity3d.com/ScriptReference/Screen.html
https://docs.unity3d.com/ScriptReference/Screen-fullScreenMode.html
You could also try creating your own command line arguments, I have found an interesting article here:
https://answers.unity.com/questions/138715/read-command-line-arguments.html