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
- Duplicate External Textures start appearing when a Texture created with "CreateExternalTexture" is modified causing Memory Usage spikes on VisionOS
- Silent crash when using a "Blend Shape" in a "Skinned Mesh Renderer" to move vertices to Vector3.positiveInfinity, and "Occlusion Culling" is baked
- Some Prefab Source and Override content bounds are misaligned
- The Package Manager's "install packages by..." panels break when Domain Reload is triggered, and the panel is open
- Crash with multiple stack traces when leaving a docked VFX Graph open
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();