Multimonitor display in Unity3D 4.1 and above...

Hi,

Is there anybody who has experience with new (4.1 and up) Display class and proper displaying of multiple cameras on multiple monitors. Is this feature really working
on standalone Windows apps? Here is what I do:

if(Display.displays.Length > 1) 
{
    Display.displays [0].Activate (); //not neeeded because it is main
	Display.displays [1].Activate ();

	CameraMain.targetDisplay = 0;
	CameraUI.targetDisplay = 1;
}

Display.displays.Length is 2 but second monitor won’t activate and display no content.
Another thing I found is Display.MultiDisplayLicense() but there is no real description
for this. It is set to false and maybe this is the reason why this all is not working.
What really is Display.MultiDisplayLicense() ? Anybody knows what to do?

Please help me guys and I’ll be really appreciated!

Best,
Pablo

Hi, I also have trouble using multi-display. When I open my game whereby Player 1 is on Display 1 and Player 2 is on Display 2, my right screen is white and does not show Display 2. Do I need to set my resolution to 3360x1050? I am using 2x 1680x1050 monitors.

This is my code:
using UnityEngine;
using System.Collections;

public class AddMonitor : MonoBehaviour {

// Use this for initialization
private void Awake()
{
	if(Display.displays.Length > 1)
	{
		Display.displays[0].SetRenderingResolution(1680, 1050);
		Display.displays[1].Activate();
		Display.displays[1].SetRenderingResolution(1680, 1050);
	}
}

}

@Geo.Ego I didn’t managed to work with your solution with the “Command line arguments” therefore I want to try Mutli-Display, Unity - Manual: Multi-display

Hi All (@owntheweb, @NikkiH, @Geo),

I have had this working well for a while now.

In addition to the code above, you need to call you unity build from the command line with the following argument ‘-multidisplay’ in order for the game to spin out multiple windows, for example: -multidisplay

I have this working over 4 displays at full screen 1920x1080.
Hope this helps people.

Regards

Max