#Where should I save game data?
1 messages · Page 1 of 1 (latest)
For windows, probably in the appdata folder, https://docs.unity3d.com/ScriptReference/Application-persistentDataPath.html
AppData or the gane directory itself would probably be the best options.
And whatever you do, don't save game files in Documents.
Depends on what type of data you want to save. A really simple way for simple types of data (strings, integers, booleans) is by using PlayerPrefs.
That is horrible advice, PlayerPrefs should never be used for storing savegame data
%AppData% for user-specific machine-agnostic data (for game progression, player profiles etc. data that applies to the user, and can apply to any machine)
%LocalAppData% for user-specific machine-specific data (settings such as screen resolution or volume. applies to the user but only on this machine)
%ProgramFiles% for application-specific machine-specific data (the actual game files go here. the exe, any libraries required for running it etc.)
%ProgramData% for user-agnostic machine-specific data (log files, caches, stuff like that)