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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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();