Search Issue Tracker

Fixed in Unity 5.3.8

Votes

3

Found in

5.3.3p2

Issue ID

785131

Regression

Yes

Display.main returns left screen instead of selected main in Win Standalone (5.3 regression)

Window management

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 3Workaround is possible

To reproduce the issue follow the steps:
1. Have at least two display connected
2. Open "Test5_4" project
3. Open "Main" scene
4. Build & run project
5. Observe "output_log.txt"
The ordered printout of the resolutions of the displays in the Display.displays array
Note: This requires different resolution monitors in test to observe incorrect order values.

Result: Display with index 0 (is what Display.Main returns) will be left screen, but not the main screen you're using.

All about bugs

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