<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 07:31:50 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[BDS-5121] Player data lost when moving from BDS to Singleplayer (and vice versa)</title>
                <link>https://bugs.mojang.com/browse/BDS-5121</link>
                <project id="11700" key="BDS">Bedrock Dedicated Server</project>
                    <description>&lt;p&gt;&lt;b&gt;Summary:&lt;/b&gt;&lt;br/&gt;
Player data on a singleplayer world isn&apos;t used when that world is moved to/used with BDS.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to reproduce:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Create a new local world, give yourself a bunch of items and tame a pet&lt;/li&gt;
	&lt;li&gt;Save and close the world&lt;/li&gt;
	&lt;li&gt;Upload the world to a BDS install and start the server&lt;/li&gt;
	&lt;li&gt;Join the server while still logged into the same account&lt;/li&gt;
	&lt;li&gt;Note you enter as a new player, items and levels are gone, pets are no longer yours etc.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;You 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.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What I expected to happen:&lt;/b&gt;&lt;br/&gt;
My player data should be linked to my account, allowing me to move it between BDS and Singleplayer without losing progress&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What actually happened:&lt;/b&gt;&lt;br/&gt;
Player data is stored differently for local and network players causing inconsistencies when moving between BDS and Singleplayer.&lt;/p&gt;

&lt;p&gt;Some more detail (all educated assumption):&lt;br/&gt;
At 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.&lt;/p&gt;

&lt;p&gt;Realms is able to get around this by (I believe) &quot;copying&quot; the player data of the local_player to the owners player_server_guid account.&lt;/p&gt;

&lt;p&gt;BDS isn&apos;t linked to an &quot;owner&quot; in the same way realms are so the same process may not be possible.&lt;/p&gt;</description>
                <environment></environment>
        <key id="319477">BDS-5121</key>
            <summary>Player data lost when moving from BDS to Singleplayer (and vice versa)</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="1" iconUrl="https://bugs.mojang.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="Kirnel">Cirnel</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 May 2020 20:53:55 +0200</created>
                <updated>Tue, 25 Jun 2024 00:05:07 +0200</updated>
                                            <version>1.14.60</version>
                    <version>1.16.0</version>
                    <version>1.20.62</version>
                                                            <votes>15</votes>
                                    <watches>11</watches>
                                                                            <comments>
                            <comment id="916510" author="JIRAUSER606525" created="Mon, 8 Feb 2021 16:46:34 +0100"  >&lt;p&gt;I ran into this when trying to transfer my son&apos;s preferred world to a server to make it easier to play with family members not in the same house.&#160; I managed to piece together a workaround that doesn&apos;t involve placing all your items in a box before transferring the world, and that preserves things like pets.&#160; It&apos;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 &lt;tt&gt;player_...&lt;/tt&gt; UUIDs needed to be.&lt;/p&gt;

&lt;p&gt;You can find my code in &lt;a href=&quot;https://github.com/cjwatson/minecraft-convert-local-player&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;cjwatson/minecraft-convert-local-player&lt;/a&gt; on GitHub.&#160; I&apos;ve tested it on exactly one world, and I&apos;ve only implemented the local-to-BDS direction, so bear that in mind!&lt;/p&gt;</comment>
                            <comment id="892729" author="JIRAUSER476750" created="Sat, 9 Jan 2021 18:09:48 +0100"  >&lt;p&gt;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.&lt;/p&gt;</comment>
                            <comment id="720886" author="JIRAUSER500941" created="Sat, 6 Jun 2020 05:36:09 +0200"  >&lt;p&gt;Inventory is one thing but you also lose your pets.&lt;/p&gt;</comment>
                            <comment id="720584" author="JIRAUSER500729" created="Fri, 5 Jun 2020 22:14:08 +0200"  >&lt;p&gt;I experienced the same issue. I confirm putting items into box does work but this is just a workaround.&lt;/p&gt;

&lt;p&gt;I think this is bug and items should be kept because this happens when I use xbox account in both local computer and BDS.&lt;/p&gt;

&lt;p&gt;So I suggest do not differentiate players based on local and network connection if they use the same account.&lt;/p&gt;</comment>
                            <comment id="691926" author="ionicecko" created="Fri, 8 May 2020 06:32:52 +0200"  >&lt;p&gt;Hi Cirnel,&lt;/p&gt;

&lt;p&gt;When you play a world locally you are considered the &quot;local&quot; player, however when you play on a BDS everyone is considered a &quot;network&quot; player. I&apos;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.&lt;/p&gt;

&lt;p&gt;To work around the issue you need to place all items in a box before you transfer the world over to BDS.&lt;/p&gt;

&lt;p&gt;Ionic&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="320557">BDS-5186</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="330043">BDS-5688</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="353655">BDS-7260</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="258580">MCPE-51494</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="317103">MCPE-75064</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_11500" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>ADO</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>384877</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i1cwl3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>