mojira.dev
MC-247439

Player and world data aren't autosaved in sync, causing item loss or duplication

I picked up a shulker box containing many enchanted tools, placed it into my ender chest, entered the nether, then had my game crash due to a complication with MC-200083. When I reloaded my game, my inventory and ender chest were in the state they were before I picked up the shulker box (not containing shulker box), and the world was in the state it was after (not containing shulker box).

To reproduce:

  • Launch Minecraft and load a world.

  • Break and pick up or place a block.

  • Kill Minecraft with SIGKILL or by reproducing MC-200083 and otherwise causing the opened application to crash (which takes Minecraft with it). Using alt+F4 or holding F3+C to force a crash does not reproduce the bug.

  • Launch Minecraft and load the world again.

Expected behavior:

  • The game should revert to the last "safe" autosave. Losing 5 minutes of progress is better than save corruption.

Actual behavior:

  • The player and world will be a mix of before and after you placed or picked up the block. Either the item is present in both the world and the inventory, or it is present in neither.

 

Comments 2

Thank you for your report!
We're tracking this issue in MC-63, 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

Thank you, I was unable to find that by searching for some reason.

Megabobster

(Unassigned)

Unconfirmed

(Unassigned)

1.18.1

Retrieved