Search Unity

Run in background

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

  1. dallin_unity

    dallin_unity

    Joined:
    Dec 18, 2019
    Posts:
    36
    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.
unityunity