Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Exclusive-Fullscreen Alt-tabbing Freeze

Discussion in 'Windows' started by kickstep, Dec 6, 2019.

  1. kickstep

    kickstep

    Joined:
    Jan 29, 2013
    Posts:
    13
    We've been plagued by an Exclusive Fullscreen bug in Windows since we updated to 2019.2.12f1 (from 2019.1.11f1).

    It is what is experienced in this tracker here (that is marked as fixed).

    https://issuetracker.unity3d.com/is...ackground-and-is-in-exclusive-fullscreen-mode

    We just updated to 2019.2.15f1 -- which no longer reports this as a known issue, but neither does it mention that it is a fixed in the update -- and can confirm it doesn't fix for us.

    The game locks up immediately on returning from being minimized and blocks all windows on the same screen (basically requiring either a second monitor with task manager, switching users, or rebooting -- so it's an extremely annoying user experience).

    There are two ways to reproduce it:
    1. Alt-tab while in exclusive fullscreen
    2. Set window mode to windowed immediately before setting it to fullscreen exclusive.
    The issue seems to get tied up with infinite loops in TMP scaling, but I haven't done a deep investigation there.
    Curious note -- the when tabbing back in to the game it seems to set the Screen.fullscreenmode to Windowed (int 3) momentarily before setting to exclusive fullscreen and re-creating context.

    We have tried disabling run in background when setting to exclusive fullscreen, but that doesn't seem to help.

    Is there any fix in sight? Anyone figure out a work-around?
     
  2. kickstep

    kickstep

    Joined:
    Jan 29, 2013
    Posts:
    13
    I've just confirmed the issue isn't there on 2019.3.0f1, but we can't move to this yet.
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,645
    The fix for this landed to 2019.2.16f1, not 2019.2.15f1.
     
  4. kickstep

    kickstep

    Joined:
    Jan 29, 2013
    Posts:
    13
    Thanks Tautvydas-Zilys

    It would be great to have this added to the known issues of 2019.2.15f1 in release notes (as with previous affected versions).

    Any rough idea about the release schedule for 2019.2.16?
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,645
    It's going to be out next week.
     
  6. vdogamr

    vdogamr

    Joined:
    Feb 23, 2018
    Posts:
    15
    I am still having this problem in 2019.4.9f1
     
  7. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,645
    Are you sure it's the same issue? Have you reported a bug on it?