Search Unity

Game running on background looks laggy and low fps

Discussion in 'Scripting' started by Milionario, Jun 26, 2021.

  1. Milionario

    Milionario

    Joined:
    Feb 21, 2014
    Posts:
    138
    So I am developing a multiplayer game and I generally need to run multiple simultaneous instances of it for testing.

    The current foreground window, the active window is the one that's gonna run at the most frames per second, while the other ones will be way lower, even lower than my monitor Hz.

    If i click anywhere on the desktop to de-select the window, all windows will appear to get the same FPS but still far from native performance. Almost like windows thinks they are not important, they look really low fps despite showing close to 200+

    is there somewhere i can change that?
     
  2. RadRedPanda

    RadRedPanda

    Joined:
    May 9, 2018
    Posts:
    1,647
  3. Milionario

    Milionario

    Joined:
    Feb 21, 2014
    Posts:
    138
    So is there a windows setting to change that? In the meantime I am putting all windows at 60 FPS to mitigate the issue and it seems to work better.