-
Notifications
You must be signed in to change notification settings - Fork 439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save data can get completely overridden if unserialization fails #3269
Comments
2 tasks
Looking at the code for FlxSave more, there is an EDIT: It also ignores the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
flixel/flixel/util/FlxSave.hx
Lines 459 to 466 in f5087ea
Relevant issue: FunkinCrew/Funkin#3679
The v0.5.2 update for Funkin' introduced new properties to the user's save data. One of these properties was an Enum value, and as a result older versions of the game will fail to parse the save data.
In the case that save data fails to parse at this stage,
sharedObject.data
will remain null, and the game will act as though it is a fresh installation with no save data, and write to the save data file.Without modifying this behavior, there is no chance for backup or recovery of the save data.
The text was updated successfully, but these errors were encountered: