Different number of displays in the editor and the build version

I have 2 working displays. In the unity editor, the Display.displays.Length check gives the result “1”, and if you assemble the project and run it – “2”

I’m using last version of Unity

See the manual:

1 Like

Damn. Not a bug, but not normal either. Thanks for the reply

You could use Unity - Scripting API: Screen.GetDisplayLayout. That should work in the editor.

Display class is only meant to be used for spawning multiple windows.

1 Like