Force Unity to keep running even when focus is lost?

Is there a way to do what the subject says? As in, by default a game only runs while it has focus. I want to turn that off, making it run all the time. This is especially important for online games.

In your EDIT-PROJECT SETTINGS-PLAYER menu, there is an option to have unity “Run in background”. Turn that on :slight_smile:

That’s just what I needed! Thanks a lot!