{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "319477",
   "self": "https://bugs.mojang.com/rest/api/2/issue/319477",
   "key": "BDS-5121",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": null,
      "customfield_10500": {
         "self": "https://bugs.mojang.com/rest/api/2/customFieldOption/10303",
         "value": "Confirmed",
         "id": "10303",
         "disabled": false
      },
      "customfield_12800": null,
      "customfield_12602": [],
      "customfield_12601": null,
      "customfield_12604": null,
      "customfield_12603": null,
      "customfield_12606": null,
      "customfield_12605": null,
      "customfield_12608": null,
      "resolutiondate": null,
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-5121/watchers",
         "watchCount": 11,
         "isWatching": false
      },
      "created": "2020-05-07T18:53:55.000+0000",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "19406",
         "19545",
         "22008"
      ],
      "issuelinks": [
         {
            "id": "177846",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/177846",
            "type": "10102",
            "inwardIssue": "320557"
         },
         {
            "id": "182224",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/182224",
            "type": "10102",
            "inwardIssue": "330043"
         },
         {
            "id": "193855",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/193855",
            "type": "10102",
            "inwardIssue": "353655"
         },
         {
            "id": "185988",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/185988",
            "type": "10102",
            "inwardIssue": "258580"
         },
         {
            "id": "185986",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/185986",
            "type": "10102",
            "inwardIssue": "317103"
         }
      ],
      "assignee": null,
      "updated": "2025-02-09T07:19:25.000+0000",
      "status": "1",
      "description": "*Summary:*\r\nPlayer data on a singleplayer world isn't used when that world is moved to/used with BDS.\r\n\r\n*Steps to reproduce:*\r\n# Create a new local world, give yourself a bunch of items and tame a pet\r\n# Save and close the world\r\n# Upload the world to a BDS install and start the server\r\n# Join the server while still logged into the same account\r\n# Note you enter as a new player, items and levels are gone, pets are no longer yours etc.\r\n\r\nYou can move the world back to singleplayer and progress while the world was on BDS will be lost but items etc from before the move will be back.\r\n\r\n*What I expected to happen:*\r\nMy player data should be linked to my account, allowing me to move it between BDS and Singleplayer without losing progress\r\n\r\n*What actually happened:*\r\nPlayer data is stored differently for local and network players causing inconsistencies when moving between BDS and Singleplayer.\r\n\r\nSome more detail (all educated assumption):\r\nAt the moment when playing a world in singleplayer, your data is stored under a local_player entry (with no link to your xbox account). When that same world is moved onto a BDS and you connect you instead get a new player_server_guid entry. Because your progress is stored under local_player its not applied to the player.\r\n\r\nRealms is able to get around this by (I believe) \"copying\" the player data of the local_player to the owners player_server_guid account.\r\n\r\nBDS isn't linked to an \"owner\" in the same way realms are so the same process may not be possible.",
      "customfield_11100": 5.0,
      "customfield_11300": null,
      "customfield_11500": "384877",
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [],
      "summary": "Player data lost when moving from BDS to Singleplayer (and vice versa)",
      "creator": "kirnel",
      "reporter": "kirnel",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i1cwl3:",
      "environment": null,
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/319477/comment/691926",
               "id": "691926",
               "author": "ionicecko",
               "body": "Hi Cirnel,\r\n\r\nWhen you play a world locally you are considered the \"local\" player, however when you play on a BDS everyone is considered a \"network\" player. I'm assuming changing this would break worlds for people that play with no network connection etc. Your stuff is all still there, if you move the world back to a local instance all your stuff will be there still.\r\n\r\nTo work around the issue you need to place all items in a box before you transfer the world over to BDS.\r\n\r\nIonic",
               "updateAuthor": "ionicecko",
               "created": "2020-05-08T04:32:52.375+0000",
               "updated": "2020-05-08T04:39:36.247+0000"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/319477/comment/691928",
               "id": "691928",
               "author": "ionicecko",
               "body": "MEQS_WAI",
               "updateAuthor": "ionicecko",
               "created": "2020-05-08T04:33:14.062+0000",
               "updated": "2020-05-08T04:33:14.062+0000",
               "visibility": {
                  "type": "group",
                  "value": "staff"
               }
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/319477/comment/720584",
               "id": "720584",
               "author": "JIRAUSER500729",
               "body": "I experienced the same issue. I confirm putting items into box does work but this is just a workaround.\r\n\r\nI think this is bug and items should be kept because this happens when I use xbox account in both local computer and BDS.\r\n\r\nSo I suggest do not differentiate players based on local and network connection if they use the same account.",
               "updateAuthor": "JIRAUSER500729",
               "created": "2020-06-05T20:14:08.281+0000",
               "updated": "2020-06-05T20:14:08.281+0000"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/319477/comment/720886",
               "id": "720886",
               "author": "JIRAUSER500941",
               "body": "Inventory is one thing but you also lose your pets.",
               "updateAuthor": "JIRAUSER500941",
               "created": "2020-06-06T03:36:09.503+0000",
               "updated": "2020-06-06T03:36:09.503+0000"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/319477/comment/892729",
               "id": "892729",
               "author": "JIRAUSER476750",
               "body": "As a workaround if you are switching from single player to BDS, I found that uploading my world to a Realm before moving my world to a BDS copies the local player into the network player in my local world. This is a one way operation though, meaning if you go from BDS back to single player, your local player will not have all your data.",
               "updateAuthor": "JIRAUSER476750",
               "created": "2021-01-09T17:09:48.053+0000",
               "updated": "2021-01-09T17:09:48.053+0000"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/319477/comment/916510",
               "id": "916510",
               "author": "JIRAUSER606525",
               "body": "I ran into this when trying to transfer my son's preferred world to a server to make it easier to play with family members not in the same house.\u00a0 I managed to piece together a workaround that doesn't involve placing all your items in a box before transferring the world, and that preserves things like pets.\u00a0 It's a bit involved, but thanks to previous helpful people doing the hard work of writing Python bindings to the Bedrock database format, the difficult bit was working out what the various {{player_...}} UUIDs needed to be.\r\n\r\nYou can find my code in [cjwatson/minecraft-convert-local-player|https://github.com/cjwatson/minecraft-convert-local-player] on GitHub.\u00a0 I've tested it on exactly one world, and I've only implemented the local-to-BDS direction, so bear that in mind!",
               "updateAuthor": "JIRAUSER606525",
               "created": "2021-02-08T15:46:34.506+0000",
               "updated": "2021-02-08T15:46:34.506+0000"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/319477/comment/1378536",
               "id": "1378536",
               "author": "JIRAUSER806920",
               "body": "Having same problem",
               "updateAuthor": "JIRAUSER806920",
               "created": "2025-02-05T08:13:51.681+0000",
               "updated": "2025-02-05T08:13:51.681+0000"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/319477/comment/1378551",
               "id": "1378551",
               "author": "JIRAUSER806920",
               "body": "And found easy solution after hard work on online research. Let me know if you want to know how I fixed it easily.",
               "updateAuthor": "JIRAUSER806920",
               "created": "2025-02-05T11:30:06.785+0000",
               "updated": "2025-02-05T11:30:06.785+0000"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/319477/comment/1379231",
               "id": "1379231",
               "author": "JIRAUSER807250",
               "body": "adsummit what is your easy fix",
               "updateAuthor": "JIRAUSER807250",
               "created": "2025-02-09T07:19:01.669+0000",
               "updated": "2025-02-09T07:19:25.020+0000"
            }
         ],
         "maxResults": 9,
         "total": 9,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-5121/votes",
         "votes": 16,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 17,
      "total": 17,
      "histories": [
         {
            "id": "1567639",
            "author": "ionicecko",
            "created": "2020-05-08T04:33:26.934+0000",
            "items": [
               {
                  "field": "Confirmation Status",
                  "fieldtype": "custom",
                  "from": "10300",
                  "fromString": "Unconfirmed",
                  "to": "10303",
                  "toString": "Confirmed"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "1569290",
            "author": "kirnel",
            "created": "2020-05-08T18:10:18.908+0000",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "I wanted to make a server of a world a friend and I played in so I didn't have to be online for him to be able to be online. So I made a server and I copi\u00ebd the save files to the save files of the server, I made sure the names were the same in the world file as well as in the server.properties file. When I start the server the playerdata is erased and I do not have the playerdata. The rest of the world is the same and works.",
                  "to": null,
                  "toString": "I wanted to make a server of a world a friend and I played in so I didn't have to be online for him to be able to be online. So I made a server and I copi\u00ebd the save files to the save files of the server, I made sure the names were the same in the world file as well as in the server.properties file. When I join the server my playerdata is not there but when my friend joins he does have his playerdata."
               }
            ]
         },
         {
            "id": "1575435",
            "author": "ionicecko",
            "created": "2020-05-12T05:39:56.265+0000",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-5186",
                  "toString": "This issue is duplicated by BDS-5186"
               }
            ]
         },
         {
            "id": "1575438",
            "author": "ionicecko",
            "created": "2020-05-12T05:43:07.108+0000",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "MCPE-75064",
                  "toString": "This issue is cloned by MCPE-75064"
               }
            ]
         },
         {
            "id": "1609297",
            "author": "ionicecko",
            "created": "2020-05-29T09:41:51.376+0000",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-5688",
                  "toString": "This issue is duplicated by BDS-5688"
               }
            ]
         },
         {
            "id": "1638811",
            "author": "ionicecko",
            "created": "2020-06-10T13:05:19.298+0000",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "I wanted to make a server of a world a friend and I played in so I didn't have to be online for him to be able to be online. So I made a server and I copi\u00ebd the save files to the save files of the server, I made sure the names were the same in the world file as well as in the server.properties file. When I join the server my playerdata is not there but when my friend joins he does have his playerdata.",
                  "to": null,
                  "toString": "*Summary:*\r\nPlayer data on a singleplayer world isn't used when that world is moved to/used with BDS.\r\n\r\n*Steps to reproduce:*\r\n# Create a new local world, give yourself a bunch of items and tame a pet\r\n# Save and close the world\r\n# Upload the world to a BDS install and start the server\r\n# Join the server while still logged into the same account\r\n# Note you enter as a new player, items and levels are gone, pets are no longer yours etc.\r\n\r\nYou can move the world back to singleplayer and progress while the world was on BDS will be lost but items etc from before the move will be back.\r\n\r\n*What I expected to happen:*\r\nMy player data should be linked to my account, allowing me to move it between BDS and Singleplayer without losing progress\r\n\r\n*What actually happened:*\r\nPlayer data is stored differently for local and network players causing inconsistencies when moving between BDS and Singleplayer.\r\n\r\nSome more detail (all educated assumption):\r\nAt the moment when playing a world in singleplayer, your data is stored under a local_player entry (with no link to your xbox account). When that same world is moved onto a BDS and you connect you instead get a new player_server_guid entry. Because your progress is stored under local_player its not applied to the player.\r\n\r\nRealms is able to get around this by (I believe) \"copying\" the player data of the local_player to the owners player_server_guid account.\r\n\r\nBDS isn't linked to an \"owner\" in the same way realms are so the same process may not be possible."
               }
            ]
         },
         {
            "id": "1638812",
            "author": "ionicecko",
            "created": "2020-06-10T13:05:35.866+0000",
            "items": [
               {
                  "field": "summary",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "playerdata does not transfer from world I played in with a friend",
                  "to": null,
                  "toString": "Player data lost when moving from BDS to Singleplayer (and vice versa)"
               }
            ]
         },
         {
            "id": "1638816",
            "author": "ionicecko",
            "created": "2020-06-10T13:06:32.671+0000",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "MCPE-75064",
                  "toString": "This issue is duplicated by MCPE-75064"
               }
            ]
         },
         {
            "id": "1638820",
            "author": "arisabot",
            "created": "2020-06-10T13:06:34.743+0000",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": "MCPE-75064",
                  "fromString": "This issue is cloned by MCPE-75064",
                  "to": null,
                  "toString": null
               }
            ]
         },
         {
            "id": "1638831",
            "author": "ionicecko",
            "created": "2020-06-10T13:10:36.204+0000",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "MCPE-51494",
                  "toString": "This issue is duplicated by MCPE-51494"
               }
            ]
         },
         {
            "id": "1690008",
            "author": "schortan",
            "created": "2020-06-29T14:43:36.360+0000",
            "items": [
               {
                  "field": "Linked",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": null,
                  "to": null,
                  "toString": "4"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "1712902",
            "author": "ionicecko",
            "created": "2020-07-11T11:24:16.786+0000",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-7260",
                  "toString": "This issue is duplicated by BDS-7260"
               }
            ]
         },
         {
            "id": "1712904",
            "author": "arisabot",
            "created": "2020-07-11T11:24:21.118+0000",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "19545",
                  "toString": "1.16.0"
               }
            ]
         },
         {
            "id": "1714557",
            "author": "arisabot",
            "created": "2020-07-12T11:24:23.574+0000",
            "items": [
               {
                  "field": "Linked",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": "4",
                  "to": null,
                  "toString": "5"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "1723406",
            "author": "mega_spud",
            "created": "2020-07-17T09:52:25.827+0000",
            "items": [
               {
                  "field": "ADO",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": null,
                  "to": null,
                  "toString": "384877"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "2950826",
            "author": "ocelotonesie",
            "created": "2024-03-11T14:45:02.758+0000",
            "items": [
               {
                  "field": "Version",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "22008",
                  "toString": "1.20.62"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         },
         {
            "id": "3024838",
            "author": "jarl-penguin",
            "created": "2024-06-24T22:05:07.813+0000",
            "items": [
               {
                  "field": "environment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "windows 10, Minecraft windows 10 and Android edition",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "1",
                  "toString": "Open"
               }
            ]
         }
      ]
   }
}