Display.displays.length always return 1
OS: Windows 7x64, nVidia GTX680, three monitors connected.
Display.displays.length always return 1
OS: Windows 7x64, nVidia GTX680, three monitors connected.
Even with the pro version (5.4.1) I get this on windows 10 when running the project in the editor. However doing a build and running the build returns the proper results. Here is my quick hack, where I hardcode in the number of my monitors which is 3 for the editor version.
monitor_count = Display.displays.Length;
#if UNITY_EDITOR
monitor_count = 3;
#endif
#if !UNITY_EDITOR
for (int i = 1; i < monitor_count; i++)
{
Display.displays*.Activate();*
}
#endif