mojira.dev
MC-241369

chests placed in earlier versions do not save correctly and revert to their pre-migrated-state every time the world loads. Critical: Item DUPE / Item loss.

Updated world originally made in 21w44a to 1.18 pre-release 1.
After mining, I drop off ores in a chest and log off for the day. Log back in and ores are gone, diamonds: gone. 

inventory state, or nbt data for containers/tile entities not saving correctly for chests in worlds migrated from previous versions. Causes critical bug; item duping possible / losing items possible. 

As far as i can tell: chests placed inside villages during 21w44a world and then updated to 1.18exp1 "freeze" their contents. any updates to chest inventories are reverted upon reloading the world. Items moved from one slot to another return to the position they were in during 21w44a. Items inserted after migration get removed upon reloading the world. 

UPDATE: Restarting client is not required. saving and quitting, and reloading world still causes items to disappear (or re-arrange if items were moved from their 21w44a placement). went to an empty chest, put arrow in chest. saved&quit, and reloaded world....Arrows are gone. 

UPDATE: appears to only affect migrated worlds. Created a new world in 1.18exp1 and did not have items disappearing in chests. Reverted minecraft version to 21w44a, created new world, and ran test inside another village, putting random items in chests, then migrating world to 1.18exp1, and new items inserted into those chests would disappear upon reloading the world.

Linked issues

Attachments

Comments

migrated

Possibly relates to MC-241204 ? I've had similar issues but with an entire chunk resetting to its pre-update state.

migrated

I've experienced this bug, resulting in both item loss and item duplication.  What's strange is that it's not always consistent.  When I tested the bug with two different items, I was able to duplication one item by removing it from the chest, logging out, then logging back in again, but not the other.  It might be the case that the item that was successfully duplicated had been there before the update, while the other item was not.  I'm not sure though.

migrated

Seeing the same or similar behavior on the mac client, 1.17.1 world that has been updated in several snapshots and now on 1.18 pre-release. After quiting and reloading game:

  • Certain items that have been taken out of a chest will re-appear, so now I have duplicates

  • Some newly placed items and even some new chests are gone

  • This is affecting multiple different chests, but not all chests - some are behaving normally

migrated

I just migrated my world to pre-release 4 and it seems to be working as expected for me

  • After taking items out of chest and reloading game, they no longer are duplicated

  • Items that were lost on a previous save / reload are still lost unfortunately

Arisa Bot

Thank you for your report!
We're tracking this issue in MC-241204, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as Fixed. Please check the Fix Version/s field in that ticket to see in which version this behavior was or will be fixed.

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.

migrated

(Unassigned)

Unconfirmed

(Unassigned)

1.18 Pre-release 1

Retrieved