This version of Unity is unsupported.

PlayerSettings.runInBackground

Switch to Manual
public static bool runInBackground;

Description

If enabled, your game will continue to run after lost focus.