Search Unity

Steam overlay still visible "ouside of screen"

Discussion in 'Scripting' started by aNormalGuy, Dec 18, 2016.

  1. aNormalGuy

    aNormalGuy

    Joined:
    Jul 22, 2013
    Posts:
    36
    Hi,

    Don't really know how to properly describe my issue but I've got some images that might clear things up.
    So my issue is that what's outside of my screen (image below) doesn't get refreshed, so when something with the Steam overlay pops up it never disappears.

    Is there a way to refresh what's outside of the screen?

    SteamOverlay.png SteamOverlay_mini.png
     
  2. aNormalGuy

    aNormalGuy

    Joined:
    Jul 22, 2013
    Posts:
    36
    When you enter a new scene it gets restored. Could it have anything to do with the canvas?
     
  3. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Seems to be a common problem with the steam overlay and Unity games. I just hit shift+tab a couple of times and it goes away.

    No idea what the underlying problem is or how to fix it.
     
  4. aNormalGuy

    aNormalGuy

    Joined:
    Jul 22, 2013
    Posts:
    36
    I found a way to fix it. If I set the resolution then it gets restored. So when the Steam Overlay (shift + tab) is removed I wait 0.3 seconds then I do a Screen.SetResolution(x,y).

    This "refreshes" the screen the way I want it. Not the best solution but it's as close as I can get now.