Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Run in background

Discussion in 'Project Tiny' started by dallin_unity, Feb 11, 2021.

  1. dallin_unity

    dallin_unity

    Joined:
    Dec 18, 2019
    Posts:
    40
    Hi guys, I'm using project tiny to build html5, is there a way to force the app run in background? I noted that when I switch to another tab, the app stop running, this is not good for multiplayer which I'm working on.
    Thanks a lot guys.
     
  2. djsell

    djsell

    Joined:
    Aug 29, 2013
    Posts:
    77
    I think no matter what after a certain period of time of a tab being inactive, the browser will either severely throttle webgl or make it completely inactive. Make sure you account for that.
     
    dallin_unity likes this.