Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.4
2019.4.4f1
2020.2
Issue ID
1282957
Regression
No
Secondary display does not become full screen when activated
How to reproduce:
1. Build and run the attached "DualScreenTest.zip" Project on a PC with 2 Displays
2. Click on the button in the center of a screen or hit "R" on the Keyboard
3. Inspect the secondary Display
Expected Behavior: The newly created Display is Fullscreen (same as primary display)
Actual Behavior: The newly created Display is not Fullscreen
Reproducible with: 2018.4.12f1 2019.4.12f1, 2020.1.8f1, 2020.2.0b6
Note: The newly activated display has the provided resolution, however, it is not fullscreen even though the "Screen" variable is set to fullscreen
Update: Verified this behavior has existed since at least 2017.4 and is not a regression.
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
- InspectorElement and AnimationMode memory leak when selecting different GameObjects in the Hierarchy with the Inspector tab open
- Previous model to world matrix is not correctly set for ASW
- More calls are made to GC.Alloc in an HDRP Sample Template when compared to the 2022.3 stream
- Generating Light Probe lighting returns inconsistent results on a specific mesh
- Two Warnings appear for every Soft Delete Operation when Deleting Sub Assets in the Project Browser
Resolution Note (2021.1.X):
This behavior has been around for quite a long time and won't be fixed at this time.
To have a full screen on the secondary display(s), you must use the native monitor resolution. If you specify a smaller display size when Activating the secondary display, you'll get a "cut out" window effect. The Screen APIs for setting the display mode, e.g. Screen.fullScreen or Screen.SetResolution, only apply to the primary display.
To ensure the secondary display(s) run as full screen windows, call Display.Active() with no parameters, this will default to the monitor's native resolution and refresh rate.
// Activate primary display in low res and secondary display with native res
Screen.SetResolution(640, 480, true);
Display.displays[0].Activate();
Display.displays[1].Activate();