[5.4] Multi-display without windows main monitor

Hello,

Im trying to achieve a multi-display setup with the new built in multidisplay feature.

This is my situation:

  • Monitor 1: 1920x1080 (windows main
    monitor)
  • Monitor 2: 1080x1920 (TV in
    portrait mode)
  • Monitor 3: 1280x800
    (projector)

Im trying to figure out how to get it working that my standalone unity application will run on two out of the three displays using the multidisplay feature. At the moment I can make it so it works on all three monitors using the code from the API:

    if (Display.displays.Length > 1)
        Display.displays[1].Activate();
    if (Display.displays.Length > 2)
        Display.displays[2].Activate();

I also have it working using only the main monitor and the TV (monitor 2).

However, what im trying to achieve is that it will start on the second and third monitor. (NOT the main monitor (Display.displays[0]).

For some reason it always starts the standalone application also in the windows main monitor, for the setup that im using I cannot change the windows primary screen and unity cannot be displayed on this monitor. (another program is running on it that controls the unity application)

  • I tried changing the primary display in using the playersprefs and changing the registry of the application.
  • I also tried using the -multidisplay command but with the same result.

How can I achieve it that the standalone unity application will only run on my second and third monitor which are both NOT the windows main monitor?

EDIT: Upgraded to Unity official 5.4 release, same result

I have a similar setup with 4 screens (main + 3 others) and I achieve what you want with some easy tricks.

  • If you play in the editor, add multiple Game tabs, select the monito to display and put them in the desired monitor. You can free your main monitor this way.

  • If you build the game, select Windowed and minimize the window on the main monitor when it lauches. In my case, the 3 other screens are fullscreen and I can use my main monitor.