I don't know why this bug is happening so I cannot give a concrete procedure
But twice now I have loaded into my creative world and had my inventory/ player data not applied to me
The first time my inventory was wiped and I was repositioned at worldspawn and the second time I spawned nearby to my original position but with an empty inventory
Relogging appears to fix this issue however any items gained before relogging will be removed upon doing so
I have a few possible leads on this, namely the fact that my xbox account got disconnected at some point and that my world had been running for a few hours both times this happened, and that every time I leave the world it tells me that it failed to sync on the first attempt sorry I can't be more helpful I'll try to see if I actually recorded the clip so I can prove that it does did happen
Related issues
Comments


Thank you for your report!
However, you have created the report for the wrong project, therefore it is being moved to the correct project. As a result of the move, some information might have become lost or incorrect. Please check whether the report is still correct and complete, and if necessary, edit it accordingly.
These are the projects where bugs for the respective game version are tracked:
– Minecraft: Java Edition — Windows, macOS, and Linux
– Minecraft Launcher — Bugs about the Minecraft Launcher specifically
– Minecraft (Bedrock codebase) — Android, iOS, Windows 10 (from the Microsoft Store), Xbox, Nintendo Switch, PlayStation, Fire OS, and Gear VR
– Minecraft Dungeons — Action-adventure title set in the Minecraft universe
– Minecraft Realms — Bugs which only occur on Realms but not in singleplayer or on third-party servers
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Sorry about that, the report is now correct
I want to add I think I've determined that the issue is most likely that I have a client and server side inventory and they are de synced from eachother resulting me having two separate inventories depending on which one the game defaults to

Thank you for your report!
We're tracking this issue in MCPE-164765, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Here's the clip https://youtu.be/4W02ISWfR18