Search Issue Tracker

Active

Votes

15

Found in

5.3.4f1

Issue ID

786492

Regression

No

Display.displays.Length outputs wrong display count in Editor console

Window management

-

Steps to reproduce:
1. Download and open the attached project
2. Open scene "DisplayTest"
3. Open second Game view
4. Set to display 2
5. Enter Play mode
6. Notice console outputs "Number of Displays: 1".

Notes:
Also Display.displays.Length outputs "Number of Displays: 1", even if Unity editor is running in 2 displays.

Reproduced with: 5.3.0f1, 5.3.4p2, 5.4.0b14.

Comments (6)

  1. 7712e78c9707121675f84b312c3199b3?d=mm

    Sliem001

    Sep 09, 2020 08:06

    Unity 2020.2.0b1 Beta
    Problem still exists.
    Its important that we reccive a fix!!

  2. E642faf62b932a59095d030de1b33dda?d=mm

    highlyinteractive

    Aug 18, 2020 17:06

    I had a go at solving the issue with a native plugin: https://github.com/highlyinteractive/UnityDisplayInfo

    It's Mac only at the moment, but I'll try to add a PC version soon

  3. E642faf62b932a59095d030de1b33dda?d=mm

    highlyinteractive

    Aug 13, 2020 14:16

    Still an issue in Unity 2020.1.2f1

    It would be so useful to at least return the number of system displays in the editor.

  4. 9a392924cce10421f2d4381528e34342?d=mm

    Roman-Ilyin

    Feb 14, 2018 15:57

    same issue in 2017.3

  5. E27993bed4e98552d2eb24c033d2b80d?d=mm

    AlexBarrington

    Nov 01, 2017 00:17

    This is still an issue in Unity 2017.2!

  6. Bfdf680518b9117fb880d1bf991e08ef?d=mm

    rbmcginnis

    May 12, 2017 14:13

    Display.displays.Count() also fails. Running a 1080TI graphics card and displaying on three 70" televisions.

    Function always returns 1.

    Laptop with an external monitor returns 2.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.