Let’s say if I made a leave menu to save the player’s final location into a save game file, the player clicks the button leaves the game and will be respawned at the saved location if re-entered the game. What if the player left the game by force? Like, closing the window directly (with the X), forcefully shut down the computer while the game is still playing or end task in Task Manager…Is there any way to deal with this? It’s not likely that we have to auto-save frequently, right?
Update: Solved by adding auto-save in PlayerCharacter blueprint-> Event EndPlay, Event End Play in Game Mode, PlayerController or Level Blueprint don’t work for me.
No guaranteed-save on force shutdown/power off and sudden blackout.
->Solution I could think of so far is set a timer for auto-save system.