Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-193198

Level.dat, Level.dat_old and player files in the playerdata folder can become corrupt in certain situations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.20.3
    • 1.16.1, 1.19.3, 23w04a, 1.19.4
    • Community Consensus
    • Save Data
    • Very Important
    • Platform

      Moderator Note

      Please attach the console log of your game using these instructions after having done the following:

      1. Open a world
      2. Make some changes to it, ones that will likely lead to corruption
      3. Leave the world
      4. If the world has disappeared from your saves list, please copy the log and provide it here - if not, please start again with Step 1.
      Workaround

      To make the world appear again in the saves list, you can rename the newest of the "level##########.dat" file to "level.dat" in the folder of the save affected by this.

      When an update is given to a tile entity ( adding items into a chest, placing a chest... etc). directly before saving and exiting a world, the level.dat file is deleted or lost (don't know). this now only loses any inventory and disappearing from the in-game world list. the way i temp fix it is to use a backup of the world and simply copy the level.dat and level.dat_old onto the non-backup world  

        1. Annotation 2020-07-01 225843.png
          Annotation 2020-07-01 225843.png
          30 kB
        2. z1.png
          z1.png
          156 kB
        3. file deletion part 2.mp4
          4.31 MB
        4. file deletion part 1.mp4
          9.88 MB
        5. 2020-07-05.png
          2020-07-05.png
          127 kB
        6. level8354039904362074056.dat
          4 kB
        7. level1458158210845139538.dat
          5 kB
        8. level1991334212637436675.dat
          5 kB
        9. latest.log
          67 kB

            Unassigned Unassigned
            Glassdragon Glassdragon
            Votes:
            29 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: