Uploaded image for project: 'Minecraft Realms'
  1. Minecraft Realms
  2. REALMS-11621

Player Coordinates, Levels, Inventory and Ender Chest lost in world backup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.20.0 (Java), 1.21 (Java)
    • None
    • Community Consensus
    • Java

      After downloading a Realms backup and loading it as a single player world using the same account (Operator) on the same computer (Windows 11), the player's coordinates, inventory and ender chest contents are lost.

      This results in:

      • The player being placed at 0, 0 (and in my case, suffocating in block)
      • Any levels being lost
      • All items from inventory missing
      • Ender chest contents missing

      Stats and achievements however appear to remain correct.

       

      Expected Behavior

      Player data should remain in-tact when loading the backup as a Single Player world.

       

      Steps to reproduce:

      1. Create a world on Realms
      2. Put items in inventory and ender chest
      3. Gain levels
      4. Disconnect and wait for backup to occur
      5. Download backup
      6. Load backup as a single player world
        At this point you should see the same issues described above

      Notes

      • My world has been around for a year or two and has been updated a few times.
      • I have not tried messing around with data files in the playerdata folder but I do see a data file present for my UUID
      • I have not yet migrated my Realms.  Was trying to do a backup before doing so and discovered this issue.

      Edit

      On further review of the player data files using a 3rd-party NBT viewer, I've discovered that my player data file (based on UUID) is indeed with a clear inventory.  However, in the backup download, there was a "dat_old" version of the file that DID contain my inventory details.

      I tried renaming the dat_old to dat, but after loading the world in Single Player, it wiped out the data again.

      It appears that when a backup is made, the current playerdata files are renamed to dat_old and new ones are created, effectively wiping any existing data.

      I've attached both files (with the UUID replaced with "playerdata") here for review.

        1. playerdata.dat
          6 kB
          kiddailey
        2. playerdata.dat_old
          7 kB
          kiddailey

            Unassigned Unassigned
            kiddailey kiddailey
            Votes:
            7 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: