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

Window management

-

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

  1. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.