Multiple displays and color space

Hello,

I have a project that has 2 cameras, each one rendering on a different display (so I’m doing this: Unity - Manual: Multi-display). This works fine in Gamma Color Space but not in Linear Color Space. The latter crashes the game. Any thoughts on this? I’m using Unity 5.6.0f3 on Windows 10. My video card is a NVIDIA 1070.

Best regards,
Boi

Sounds like a bug. Have you filed a crash/bug report?

yup, crashed here also in linear…

unity 5.6.0p2 and 2017.1.0.b1, win10, gtx970

looks like crash in this line

        Debug.Log("displays connected: " + Display.displays.Length);

*actually seems to work in 2017.1.0.b3

Could you file a bug report please? It sounds like it may be fixed then so we probably just need to Backport the fix. A bug report will help ensure this.

#907692

*got reply that its duplicate to some other issue, probably this

extra notes

  • It does crash in 2017b3 too, i didn’t have the camera set to display2 so it didnt…
  • doesn’t crash in DX9 (dx11 does)
  • no crash in fullscreen mode (windowed does crash)
  • crashes in some of the lines below, not in the debug.log
        if (Display.displays.Length > 1)
            Display.displays[1].Activate();

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

I did file a bug report: https://fogbugz.unity3d.com/default.asp?907460_6d9id41glbhllnrh

1 Like