I have had it in the past where when the game crashes, my scoreboard.dat gets wiped. All objectives just gone. This was weird, because everything else would save just fine. It was always just the scoreboard that would disappear. Now, however, I just had all of my objectives disappear when quitting my world normally, using the "Save and Quit to Title" button in the escape menu and hitting "Quit Game" afterwards on the main menu. As I usually open my world multiple times a day (For years on end), this seems to be quite a rare problem, and I don't think I did anything differently this time, so I have no clue how to reproduce it either.
Linked issues
is duplicated by 4
relates to 2
Comments 7
The issue has occurred yet again. It is also worth noting that my scoreboard is relatively large. The scoreboard.dat file was >100KB when I first started getting the issue, and now it is >200KB (221KB as of this last wipe - I've started manually backing up the scoreboard so I can easily restore it when this happens).
It happened again. More details (My memory could be faulty):
The session before the issue occurred, I logged in, modified my data pack, reloaded the data pack, removed an item from my inventory via the creative inventory and ran the modified function (That contained a single /give command). I then quit the game normally. I completely closed Minecraft, and when I opened Minecraft and entered my world the following time, all scoreboard objectives were gone. Notably, I still had the item given to me by the function that I had modified.
The scoreboard.dat size is now 241KB - up 16KB in the last 3 days. Given that I only added 2 scoreboard objectives in that time (Both of which only apply to the player), that seems rather high. Is it possible that the scoreboard.dat size is being inflated by something, like dead entities aren't being removed or something?
It's worth noting that this issue has not reoccurred for me since my last comment, and I was on the same version (1.13.2) for the vast majority of that time, including the times when it did occur.
Can you still reproduce this issue in the latest version, 1.20.4, or 1.20.5 Release Candidate 1?
Considering the unreliability of this issue, and it's lack of clear steps to reproduce, I am unsure how to replicate the behavior properly. Is there any additional context or information you can provide on the issue if you're still able to reproduce it?
This issue has occurred again. Once again, the game was quit completely normally, but the scoreboard.dat file was wiped.