Page 1 of 1

[0.17.4] Failed to load local achievement data when using mods

Posted: Mon Mar 04, 2019 12:20 pm
by Skybreaker
Bug:
The game when modded does not save achievements. Not only does it one time not load achievements, but the game consistently will launch with this error and start with 0 achievements.
Message "Failed to load local achievement data. Local achievements might be lost." on game start.
Failed to load local achievement data.png
Failed to load local achievement data.png (11.31 KiB) Viewed 2284 times

Code: Select all

   1.242 Info PlayerData.cpp:69: Local player-data.json unavailable
   1.242 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551698732
   1.243 Error PlayerData.cpp:212: Failed to load achievement data: Map version 0.14.22-0 can't be loaded because it's lower than the minimum input version (0.15.0-0).
Repo:
Enable a mod, any mod that disables achievements.
Copy the attached file 'achievements-modded.dat' (you'll need to unzip the .zip first) to your Factorio config folder (this came from my Factorio config folder. It seems to have last been modified by me 2017-04-19)
Start game and observe bug

I'm guessing you can also repro by last using mods in 0.14 of factorio, then slowly updating.

Fix:
Delete the achievements-modded.dat file from your %APPDATA%\Factorio folder

Notes:
I bet this will be a won't fix, since it has to do with loading old data. But I wanted it to be a tracked bug, and searchable by others. It took me a while to find which file was causing this issue.

Re: [0.17.4] Failed to load local achievement data when using mods

Posted: Tue May 07, 2019 3:58 am
by Rseding91
Thanks for the report. That is indeed not a bug - the achievements file was created with 0.14 and was never loaded and or changed with any game update. 3 major versions later we dropped support for 0.14.