Search Issue Tracker
Fixed in 5.3.0
Votes
1
Found in
4.3.0f4
Issue ID
581517
Regression
No
[MultiMonitor] Display.displays always shows only one display
To reproduce:
Make sure you have two or more displays.
1. Open attached project
2. Open scene test
3. Enter play mode
4. Notice how Display.displays.length outputs 1 even though there are more displays connected
Furthermore the Display.systemHeight displays the height of the window, not the display (same for width). If this is the expected behavior some changes are needed for the documentation to reflect that.
Comments (2)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Customize handled extensions" part in the External Tools settings tab is not aligned with other properties
- Editor Diagnostics foldouts do not open when clicked on the foldout title
- [UI Builder] Visual Elements are not placed at the mouse cursor position when Absolute Position Placement is enabled
- "Width" and "Height" text is misaligned with slider ends in Screen Match Mode Parameters section of Panel Settings Asset
- Editor does not quit when Editor is not in focus and any floating window is opened
Sutee9
Nov 03, 2017 16:21
While in the editor, it always returns 1, you have to build to see the real value. There is however an issue, that if you connect / disconnect a monitor while your app is running, unity does not detect it.
aresundnes
Jun 17, 2015 17:01
Also Display.MultiDisplayLicense() will always return false, even with valid license. This is likely the reason the displays list is never more than one.