Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2017.4.X, 2018.4.X, 2019.3.X

Votes

1

Found in

2017.4.36f1

2018.4

2019.2.0a5

2019.3

2020.1

Issue ID

1207918

Regression

Yes

Original window doesnt enter fullscreen mode when launching with second display activated

Windows

-

Reproduction steps:
1. Open attached project
2. Build and run the project
3. Make sure "windowed" is unticked
4. Select lower resolution than native
5. Press "Play"

Expected: Window on the first display will be in fullscreen
Actual: Windows on the first display is in borderless fullscreen mode that doesn't fit the screen

Reproducible with: 2017.4.36f1, 2019.2.0a5, 2020.1.0a17
Not reproducible with: 2017.4.35f1, 2019.0a4

Note: Seems to be introduced with case 1040726

  1. Resolution Note (fix version 2020.1):

    Regression was introduced while attempting to fix case 1040726 (https://issuetracker.unity3d.com/issues/primary-screen-window-size-turns-to-native-when-using-more-than-one-display)

    With this new fix, the initial state of the primary display will be based on the current FullscreenMode when multi-display is activated:

    - If running in ExclusiveFullScreen or FullScreenWindow mode, the primary display will have a "fullscreen window" matching the native monitor resolution
    - If running in Windowed mode, the primary display will have a "borderless window" matching the current width and height

    To change the window size on the primary display, call Display.SetParams() *after* activating the primary display.
    For example, to force 640x480 windows on both displays:

    // Display.Activate() parameters are ignored for the primary display (index 0) so just pass in 0's
    Display.displays[0].Activate(0, 0, 0);

    // Activate the secondary display to use a 640x480 window
    Display.displays[1].Activate(640, 480, 60);

    // Force the primary display to also use a 640x480 window
    Display.displays[0].SetParams(640, 480, 0, 0);

Comments (5)

  1. sakeleo2023

    May 13, 2023 23:10

    Thanks For This Information

  2. unity_mansourp

    Sep 18, 2021 10:16

    دانلود آهنگ های مازیار فلاحی
    guitarmusic.ir/section/%d9%85%d8%a7%d8%b2%db%8c%d8%a7%d8%b1-%d9%81%d9%84%d8%a7%d8%ad%db%8c/

  3. techflecom

    Apr 24, 2020 19:59

    https://techfle.com/
    <a href="https://techslips.com/free-crunchyroll-account/" >free crunchyroll account</a>
    <a href="https://techslips.com/crack-internet-download-manager-idm-6-33-build-3/" >IDM internet download Manager</a>
    <a href="https://techslips.com/how-to-download-gta-5-ppsspp/" >download gta V 5 zip highly comprised file</a>
    <a href="https://techslips.com/free-premium-link-generator-working/" >free premium link generator site</a>
    <a href="https://techslips.com/how-to-download-and-play-ppsspp-game/" >download ppsspp Games emulator PSP android apk free highly comprised files</a>
    <a href="https://techslips.com/unlock-jiofi/" >unlock jiofi to use airtel</a>
    <a href="https://techslips.com/romantic-korean-drama-with-english-subtitles/" >best korean drama with English</a>
    <a href="https://techslips.com/netflix-pro-mod-download-to-stream-netflix-movies-for-free/" >NETFLIX pro Mod download apk ios</a>
    <a href="https://techslips.com/using-psxdownloader-helper/" >psxdownloader helper use</a>
    <a href="https://techslips.com/express-vpn-mod-apk-premium/" >Express VPN free premium</a>
    <a href="https://techslips.com/hard-drive-health-checker/" >drive health care</a>
    <a href="https://techslips.com/iobit-uninstaller-9-pro-crack/" >iobit uninstaller</a>
    <a href="https://techslips.com/dragon-ball-legends-mod-apk/" >dragon ball legend mod download</a>
    <a href="https://techslips.com/ps4-emulator-for-android/" >DOWNLOAD LATEST PS4 OFFICIAL EMULATOR FOR ANDROID</a>
    <a href="https://techslips.com/stream-dstv-channels-free-all-devices/">HOW TO WATCH & STREAM FREE DSTV VIDEO WORKS ON ALL DEVICES</a>
    <a href="https://techslips.com/pes-2019-ppsspp-iso-file-download/">pes 2019 iso download</a>

Add comment

Log in to post comment

All about bugs

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