Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Non foreground app looses network connection

Discussion in 'Multiplayer' started by MatthewHarmon, Jun 2, 2016.

  1. MatthewHarmon

    MatthewHarmon

    Joined:
    Mar 5, 2015
    Posts:
    24
    Hey All:

    We are having trouble keeping a non-foreground app connected in a multiplayer session. I'm not sure about the standalone player logic, but when non-foreground and acting as the game "host" we seem to only be able to stay alive for about 20 seconds.

    Any thoughts on this?
     
  2. Whippets

    Whippets

    Joined:
    Feb 28, 2013
    Posts:
    1,775
    Is it set to run in background either in the settings or with Application.runInBackground = true ?
     
unityunity