I looked in the settings and found the gaming mode enabled that you were referring to. Why would Avast real-time protection have turned off later though? I wasn’t playing a game at the time.