Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

My game isn't saving.

(3 edits)

Are you on an iPad, by any chance? If not, which browser and OS?

If you're on iOS: the game is saved into "HTML Local Storage" in the browser, and unfortunately Apple changed the default settings on iOS to prevent saving data to localStorage when hosted cross-domain (as is done here on itch.io). This was ostensibly done for privacy reasons, but unfortunately it completely broke saves for browser-based games on itch.io for iOS. The only work-around for SIC-1 (short of disabling the "Prevernt cross-site tracking" setting--which I don't recommend doing, since it's a global setting) is to manually export your save data (Options -> Manage Save Data) and then import it next time.

If you're not on iOS: let me know the browser+OS and whether or not any settings (especially privacy/security settings) have been modified, and I'll give it a try.

(2 edits)

I'm using chrome on windows 10, and I think it may not be the game's fault, because I've gotten errors attached to localStorage on other things, so it may be my google account.

EDIT: I read the big block of text for iOS, (because I like reading, I know, I'm a nerd. What did you expect?) and I saw the bottom: "The only work-around for SIC-1 (...) is to manually export your save data...". Well then, I guess I'll do that!

I think Chrome has a similar setting, but it is disabled by default. It might be called “block third party cookies”. It might be enabled by default in incognito mode.

(+1)

I found the setting and have set it to "Block in incognito mode",

Thanks for the help!