Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Loss of game progression upon updating a game

A topic by ShaiGames created Jun 21, 2023 Views: 396 Replies: 2
Viewing posts 1 to 2
(1 edit)

Hello everyone, I am currently facing an issue with my game, Plague Survival, where the progression data gets lost when I update it.
I store the progression using JSON, which is a commonly used method. However, when I update the game by deleting the current game file in the Edit game screen and upload the new updated build, all game progression is lost and the game reverts to its default start state.

In my past experience with other websites that utilize WebGL, the game progression with the same JSON system used here would remain intact even after updating the build or even deleting the game page entirely and creating a new one, as long as I didn't modify the way the JSON file is being read or it's data. However, on itch the behavior seems to be different.

I'd appreciate any insights on why this occurs and how I can update my game without causing the players to lose all their progress.
Thanks in advance for your help!

(+1)

If you are using Application.persistentDataPath you might try this https://ddmeow.net/en/game-dev/save-persistent-itch-io/ , it was my problem at least.

(+1)

You are a hero, thanks for that!

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.