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.
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
- NullReferenceException is thrown when pressing the "Enter" key to select an item in a ListView
- Burst internal compiler errors are thrown when creating a new 2D project
- Tile Paint action disappears from Undo History when Tile Selection tool has been used beforehand
- The pregenerated LightDefinition.cs.hlsl does not match the source LightDefinition.cs when regenerating shader includes
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
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.