The 'Instant Return To Desktop' kills the game without calling OnReleased() and OnLevelUnloading() methods (and also without allowing any in-progress saves to complete).
To allow for this behaviour, the configuration file-related actions currently within OnReleased() should be moved to game load - probably OnLevelLoaded().
The 'Instant Return To Desktop' kills the game without calling OnReleased() and OnLevelUnloading() methods (and also without allowing any in-progress saves to complete).
To allow for this behaviour, the configuration file-related actions currently within OnReleased() should be moved to game load - probably OnLevelLoaded().