#Saving game
1 messages · Page 1 of 1 (latest)
Might be different for mobile, you could try OnApplicationQuit, though there are some notes related to mobile on the docs: https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnApplicationQuit.html
Though I would imagine in most cases, if a player force quits out of a game, they likely didnt want to save their progress, or expect to roll back to a recent save
Either make an Auto-save feature happening every 5 minutes or use OnApplicationFocus.