Under review

How will the Data be Saved?

Sion Savior 3 months ago in Game Creator updated by Marti (Lead Developer) 3 months ago 3

Somehow I can't figure out the Save System from GC. I can't find out where the data is stored when I save the game.

Neither does it say exactly what is saved and how I can control it.

In the documentation everything (except IGameSave Interface) is not really helpful. Maybe it's also because I'm still a newbie in GC.

Anyway, I want to know how the data is stored and where ... If it is possible to change the data from outside etc.

Unity version:
Game Creator version:

On the Desktop, the saved game goes to the Player Prefs (Unity file), and I would not suggest trying to change it. What is saved, is what you tell to be saved. For example, the Variables have a save check box, the player can be saved or not, The scene is always saved, as are the positions of things (a snapshot of the game). The load will load whichever save you tell it to.

On Webgl, you cannot save (unless you do some coding) as a browser will not let you access the hard drive. You can save it to a server (as I do) and you can change data there, but you need to build a custom save.

Mobile saves it to somewhere else, depending on you OS. Dont know where Consoles save to, but I they all have some sort of player prefs as well. 

Hence, a different answer for each platform, and changes are usually only possible with a custom save. This can be done, but requires coding skills.

Hope this helps.

Sure Thanks, that helps.

I mean it doesnt resolv my problem but it helps

Under review

Data is stored as a string chain inside Unity's Player Prefs by default. You can learn more about these and their location (depends on each platform) here: https://docs.unity3d.com/ScriptReference/PlayerPrefs.html.

There isn't much to add. Each component that has a unique ID and implements the IGameSave interface feeds the SaveLoadManager with data at certain points so it can keep track of all the progress of the game.

Is that what you mean? Not sure if you are a programmer and want implementation details or just the overall bird-view of the save/load system.