Home Button is exiting my game instead of just pausing it now, but I didn't change that

Has anyone else noticed that the home button on Androids is closing their game instead of just pausing it and minimizing, because it’s doing that to my game.

It never used to, though. Before, the home button would always call OnApplicationPause(true) and I would have the menu pop up and Time.timescale set to 0. Now, the game just exits.

It is very aggravating and I don’t know what’s causing this. Any help?

make sure you don’t have “don’t keep activities” checked in device developer options

I didn’t have that option enabled, but I did end up identifying the problem. I had tried out RevMob for some banner ads and that’s what was causing the crashes. Once I removed all the files it added the the Plugins folder my game no longer crashes.