GameObject to remember it's variable information changed during runtime after the application quits


I have made a script to save level information (name), so it can be used to load the last played scene. I have used DontDestroyOnLoad() in the script. Works fine, but after you quit the game, this information gets reset. Is there any way to make the game remember this information, even after the application quits?

Have a look at PlayerPrefs. You can save and load basic information using these.