FunkinCrew / Funkin

A rhythm game made with HaxeFlixel
https://www.newgrounds.com/portal/view/770371
Other
2.94k stars 2.29k forks source link

Bug Report: Everything was reset when opening old versions of the game #3679

Open TylerCKB opened 1 day ago

TylerCKB commented 1 day ago

Issue Checklist

Platform

Itch.io (Downloadable Build) - Windows

Browser

None

Version

0.5.2

Description (include any images, videos, errors, or crash logs)

I was playing the new patch. Everything was fine. My settings and scores were saved from previous versions of the game no problem. However, I closed out of the game and accidentally booted up an older version of the game (0.5.0). It for some reason was completely silent, as the volume was set to 0. All of my key binds were reset. All of my scores were reset. The new erect songs said the 'New' text on them. I thought nothing of it at first. Maybe if was just an error with the newer data mixing with old versions. But when I went back to the current patch (0.5.2) everything was reset there too. It wiped my save file entirely. I had to replay weekend 1 to access the Pico songs again, and even their scores were gone too. I did a test, and this happened every time I opened the old version. It just resets everything. I don't think there is any way of getting my scores back, but if anyone has any ideas, I'm all ears.

Steps to Reproduce

  1. Open an older version of the game (pre 0.5.2)
  2. Discover that your saves are now fucked
TylerCKB commented 1 day ago

Yes, I know that someone reported a similar issue, but they just closed their game, and it happened. My problem seems to be reproduceable.

NotHyper-474 commented 1 day ago

This bug was also mentioned in a comment https://github.com/FunkinCrew/Funkin/issues/3524#issuecomment-2408637532

GoombarioFan commented 1 day ago

I had this happen to me too while testing something, but I didn't think too much of it since I usually don't downgrade and just assumed this was a normal consequence of downgrading versions. I was thinking of suggesting an enhancement of adding a warning that playing on older versions could corrupt save files by detecting if the save file is from a newer version or not, but this also seems like a good place to mention it.

Hundrec commented 1 day ago

New versions should start telling users to back up .sol files...

Fused47 commented 1 day ago

Yep, this happened to me too

speedlorenzo12 commented 4 hours ago

to prevent all data from being deleted due to an update there would be 2 ways: the game creates 2 separate saves, if the first one breaks the second one must not be modified and the save remains intact. prevent the file itself from breaking even if I think it could be complicated (im not a developer)