Search Unity

Any way around Unity not updating while not active window?

Discussion in 'Multiplayer' started by Bugfoot, Jan 29, 2009.

  1. Bugfoot

    Bugfoot

    Joined:
    Jan 9, 2009
    Posts:
    533
    When testing my network code, I usually have one standalone build run as host, and the editor in playmode connect to it.

    The problem is, from what I can tell, Unity apps do not update if they are not the current active window. So if I connect to my game server through the editor, I need to alt tab back to the server window in order for the client to actually connect. It doesn't happen in the background.

    Can this be solved? At the moment I'm forced to use two separate machines to test my game networking code.
     
  2. MikeHergaarden

    MikeHergaarden

    Joined:
    Mar 9, 2008
    Posts:
    1,027
    Enable the option "run in background" via the player settings.
     
  3. Bugfoot

    Bugfoot

    Joined:
    Jan 9, 2009
    Posts:
    533
    Great, that was an easy fix ;) Thank you.