Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Ah, now I see!

If Run In Background is disabled in newer versions of Unity, while things like physics still run if only scene view is open, text freezes. In-editor, the application is only "focused" if the game view has focus. I was worried about this breaking behaviour, but it looks like tabbing out of the editor window and back in seems to work as expected anyway? Well, mostly-expected... text still skips forward a bit when the application resumes. I'll push this for the next update.

If you want to have the behaviour change now, all I did was change OnApplicationFocus() to this:


void OnApplicationFocus(bool focused)
{
    #if !UNITY_EDITOR
    if(!Application.runInBackground)
    {
        applicationFocused = focused;
    }
    #endif
}

Sounds good, thanks Kai!