Edit by @unknown:
It appears that this issue can occur when interacting with other block entity/NPC/Mob inventories, including Villagers.
Original Description:
In my survival game, there are times when items disappear from my inventory. I have tried to find when and where this happens, as it has occurred very frequently.
And I found it occurs when I have been exiting my mine, with all my resources, I go to a series of furnaces that I have to make cobblestone into stone. And whilst I'm putting more wood and cobblestone into each one. I notice after that some items are missing.
The missing items that I have noticed, have been torches and also iron ore.
I usually always have my torches in the second slot, if this is related I don't know.
However they have definitely disappeared as I kept an eye for it this time.
I'm pretty certain it has something to do with the furnaces. Wether it's because I have 8 furnaces in a 2 by 4 set up, or the fact that I fill them up and take out the stone multiple times, I'm not sure.
However, please try find and fix this.
If it helps the slot torches were in, had been replaced with stone. So it must occur when I'm taking some out.
I have version 16.2 minecraft pocket edition.
Linked issues
is duplicated by 32
relates to 2
Attachments
Comments 71
Yes in single player.
It seems to be related to the furnaces. It doesn't always do it, but it's fairly frequent, and always seems to affect my torches. More than anything else.
I have suffered this also when emptying/recharging fuel and items in a furnace, it happens frequently in 16.2.
It is fairy easy to replicate, below is as close to a reliable replication method as I have got, I have replicated the issue once only using this method loosing a bucket.
Pre setup:
full or almost full inventory with distinctive items
Load three furnaces with 64 cobble each
for each furnace
load a lava bucket
retrieve empty bucket
Refill the three empty buckets with lava
Wait for lava to burn out
Test:
for each furnace (all in a single session with the furnace UI)
take the stone
refill the cobble
place full lava bucket
retrieve empty bucket
check inventory for missing items
repeat
I have seen the same issue in 10.2 with furnaces using lava buckets for fuel. Have lost multiple swords, buckets, etc, even the stone I just made. Does not appear to be tied to item type or fullness of inventory. Occurs when putting items in furnace or taking them out of furnace.
Glad I'm not the only one who noticed this.
It doesn't seem to be to do with fullness of inventory.
EDIT: My description here was not quite accurate, refer to the detailed instructions posted later.
In 1.0.0.7
I have just witnessed this happen in real time.
While digging an arterial tunnel I had 3 furnaces running on lava processing cobble, iron ore and gold ore.
I opened a furnace that was part way through a 64 stack of cobble with plenty of lava burn time left so topped up the cobble in the input slot. I did not remove the stone from the result slot.
I had a number of gold ore in my inventory at the time which was shown in the available items on the left hand side of the furnace gui, I stacked the cobble and luckily actually saw the gold ore vanish from the left hand side of the furnace gui, when I opened my inventory it had indeed gone.
I'm reasonably certain that the stack of cobble I selected when loading was not sufficient to fill the input slot to 64 so would roll over to continue filling from the next full stack of cobble in my inventory (there were two full stacks and one part stack of cobble in my inventory initially).
I suspect this is happening when for example you have room for, say 10 more input items in the furnace, have a part stack of the item in inventory say <10, other full stacks of the item in inventory and try to load from the <10 part stack. When the part stack is spent the gui attempts to continue loading from another stack and somehow the reshuffle ends in a slot contents being lost.
I cannot recall if the lost gold ore was in a particular slot in relation to the slot where the part/full stacks of cobble were, sorry.
Apologies, I know this is anecdotal but will try to nail it down further when I have time.
This exact thing is happening to me as well. Glad I'm not the only one
I guess you're using lava as fuel. Since I stopped using coal and coal block which consuming so much time and resources, I tried to gather lava from the nether and smelt my "overworld" resources. However. I've seen my tools is disappearing. I didn't give to this any intersting. but after i lost flint and steel in the nether which is being in the first slot always. I didn't be able to get out. Luckly i found a chest in a Nether Fortress and found some flint and steel.
Ok the situation at I have mostly encountered it. Is when I use wood planks, and cobblestone in the top.
However after reading Mr Smeo, I believe he is right.
As I often use lots of cobblestone, and keep it topped up in the furnace, so I can see that if I use a full stack to fill up only part, it may be the cause.
Also it does seem most often to be the item in my first box, which is usually sticks. However I've noticed iron disappeared also.
@Zack
Check out MCPE-20243
I believe the same bug is acting here in the furnace and Villager trading gui I described in 20243.
I have not tested furnaces lately as I have worked around 18617 by one or more of the following practices you may want to try until fixed:
For Lava: Only stacking 63 items at a time into the input slot and when the 63 items are smelted make sure you have one such in your inventory when you take them out, ending up with a stack of 64 in inv and not overflowing to a fresh slot.
If just using coal, just pickaxe the furnace and pick up the spewed contents, crude but effective π
Affects version 1.0.6
Please see MCPE-19511 for the comment from "[MCPE Mod] elite041802 (Kaleb Wasmuth)" which prompted adding more detailed steps to recreate this bug.
MCPE-18617 - Furnace GUI Case
Setup:
1. Items in inventory - Case1-1.png
2. Open a furnace - Case1-2.png
3a. Load Input slot with 64 Potatos
3b. Load Fuel slot with Lava Bucket
3c. Retrieve Empty Bucket
3d. Resulting Furnace contents - Case1-3.png
4. Open Inventory
5. Check contents as expected - Case1-4.png
Up to this point all is as expected, pay close attention to next actions.
6. Open Furnace again, wait until some input items are smelted, say, 14 - Case1-5.png.
So now I want to top up the Input Slot, from slot 4 on the left.
(Obviously I cannot capture this action in a screenshot)
This is done by long pressing from a stack on the left until the Input slot is topped up.
*IMPORTANT BIT START*
7. Long press slot 4 on left hand side.
8. Wait until the input slot refills to 64.
*NEXT STEP IS WHERE THE BUG HAPPENS*
9. Release the long press.
So, now the Input slot is filled back up to 64, from the stack of potatos in slot 4 on
left hand side of the furnace GUI and
*the remaining 50 potatoes are returned to the Inventory*
10. Open Inventory - Case1-6.png
*Obvserve that*
The 50 potatos returned to inventory have moved from the original stacks position
in slot 35, to slot 1
*OVERWRITING THE ORIGINAL CONTENTS OF SLOT1, namely Glass*
^^^^^^^^^^^^^^^^^THE BUG^^^^^^^^^^^^^^^^
Affects 1.1.0.0
Confirmed to affect 1.1.0.0.
Affects 1.1.0.1 (villager trading case)
Affects 1.1.0.3 but seems to favour another slot, at least it did in this test.
Leaving out the furnace pics to reduce the screenshots....
Inventory after adding lava bucket to furnace: Note slots 7,8 and 16 (first slot is slot1 rather than slot0)
[media]
Add 64 sand to furnace: All good so far (slot7)
[media]
Retrieve empty bucket: All good so far (slot7)
[media]
Top up input slot on furnace:
Stack of sand removed from slot8
remainder of sand returned to inventory but into slot16 replacing original contents of 33 fences
Also affects 1.1.0.3 for Villager Trading Case.
See also MCPE-21182
This is not a resolved bug, as I never had a problem until 1.0.7 today.
Did not realise how bad this bug was. For me, it's Iron Ore, Iron and Buckets that seem to disappear often. I've only noticed this a few times around furnaces, however I will ammend this should I find it happening elsewhere.
Bug fixing something like this is a very long and difficult task. If you can appreciate the complexity of getting something like windows right, chasing a bug like this is hard. After all, Microsoft are still trying get to perfect the bugs in Windows, so be patient with the developers, I'm sure they'll get it sorted when they can track it down.
As it turns out, Shogi, one of the MCPE developers, is currently working on rewriting the inventory code to make it entirely serverside, which would presumably fix almost every item duplication bug. No idea when it will be finished and ready to implement, though.
https://twitter.com/shoghicp/status/822402228954611712
https://twitter.com/shoghicp/status/844939023827259392
So one way or another, this bug will definitely be fixed. Whether it will happen before the rewrite or because of the rewrite, I don't know.
SuperGeniusZeb: Thanks for the update! I actively commented on this issue in thread 19511 (now consolidated into this one). This whole inventory issue (disappearing items when interacting with ovens as detailed accurately by Mr Smeo above, hotbar showing the same "phantom" item in multiple slots after interacting with a chest) has really damaged enjoyment of the game by both my son and me, so I'm delighted to hear Mojang is addressing it. Could you please give further detail on what you mean by "serverside" for those of us with little programming knowledge? Does this mean that inventories will be maintained on Mojang servers, rather than on the individual's device (client?) being used to play MCPE alone or in groups? If that is the case, what will happen if there is no internet connection to connect to the Mojang servers to retrieve one's inventory? I know I may be way off base and this might be the dumbest question ever, but please take pity and help out the uneducated! I need to be able to explain how this will fix the problem to my 7-year-old! Thanks for your time and efforts! π
To @unknown:
When playing some games such as Minecraft, the code is split into 2 parts: serverside & clientside. On a multiplayer server, serverside code is everything that is handled by the server itself (usually anything related to behaviors), and not calculated by the connected clients. Clientside code is everything that is handled on the player's end, or client (usually things like rendering, player movement calculations that get sent to the server for validation, & etc.).
In singleplayer Minecraft, the game is actually still split into serverside & clientside code, but in this case the server is running on the same device as the client.
Currently, the inventory is handled partially on the client and partially on the server, with information being sent to the server and from the server. The problem is that sometimes, due to the client & server running on different threads simultaneously, a desynchronization can occur between the client & server, OR info may fail to be sent to the server, and so items can end up being moved from one spot to another twice, resulting in duplication, because the server or client has not yet realized that the item has already moved, or because the server or client never told the other that anything happened. Item deletion occurs in a similar way.
By moving inventory handling entirely to the serverside code, items should no longer be deleted or duplicated by desynchronizations. The client will only send requests to the server to affect items in the inventory. Any funky stuff that happens on the client shouldn't functionally affect the inventory, and if the client or server lags behind the other, the client will quickly resync what it displays as being in the inventory as what the server says is in the inventory. Basically, all code that actually changes the current state of the inventory will be handled by the serverside code, and the clientside code will only display what the server tells it to, and send requests to the server to perform actions on the inventory.
I'm not sure if I did a good job explaining that. It's kind of a hard subject to explain, and I myself don't fully understand all the inner workings of the game, so a dev would probably be better at explaining it than me. But hopefully this was helpful in at least getting a basic understanding of it. π
To SuperGeniusZeb: Thanks for the explanation. I think I understand it enough to see the benefits of making inventory serverside. I guess computers are more like people (or visa-versa) than we care to admit: When there's a need for communication, there's the likelihood of miscommunication! Or, as the server might say, "If you want a job done right, do it yourself!" π
Again, glad to hear the problem has been recognized and is being addressed! I look forward to the improved game play. Now to explain this to a 7-year-old... π
The thing is that a rewrite of the inventory code to be fully serverside would automatically fix this bug, because this bug only exists because of the inventory NOT being serverside.
Ok, what I meant to say was that the non-serverside inventory makes it possible for bugs like this to be introduced.
But yes, the devs are aware of this bug. I'm not sure when/if a pre-rewrite fix will come, though. I'll try and ask, and I'll let you know if I get any concrete answer.
Have tested this on 1.1.0.9 and it looks good.
On the "Top up input slot on furnace:" step the UI stops counting when the input slot is maxed at 64 so there is no buffer/return to inventory occurring during the transfer.
Another great fix in 1.1.0.9 π Thanks Devs.
Mr Smeo-
I assume you're an beta tester, or are you playing a platform that has already released 1.1.0.9? When will 1.1.0.9 (or 1.1.0.8, for that matter) be available to the rest of us? The current latest on Google Play is 1.1.0.7.
Also, did you notice (or have a problem with) duplicated items in your hotbar? I've opened and closed a chest to find 4 water buckets in my hotbar, repeated and found 4 swords, repeated and found four empty slots, all in the same hotbar positions in a matter of 5 seconds. Annoying, but at least nothing is disappearing from my inventory. Hope they fixed this too in 1.1.0.9????
@Gregory Schultz,
Correct I am beta testing, sign up yourself and you will get access to 1.1.0.9 on the play store.
Regarding the duplicate hotbar entries, MCPE-20458, this also looks fixed in 1.1.0.x I have not observed this for a while.
1.1.0.9 is a massively improved build in lots of ways so I suspect @Mojang will be rolling this up into a mainline release soon but that is speculation I dont have any inside info on that.
Since the mobile version of the bug tracker is super-limited, and the desktop site crops beyond belief, I'm not going to check all the comments...
I assume it has been checked for botb classic UI as well as pocket UI?
EDIT: I remember the Pocket UI having oddities in the hotbar many versions ago when I swapped out items (it is like the hotbar was just pointing to slots in the inventory, which meant one sword could potentinally be in all 9 hotbar slots).
Katie Heart, yes I swapped to using the classic version instead of the pocket version and all seems fine in that. I also remember the old, but very similar bug, in the pocket version. I am sometimes very suspicious that old code gets re-released on odd occasions but I suppose they do have rigorous code version release mechanisms and control software to manage that and although the symptoms may look the same the underlying bug is probably different.
Resolving as fixed as of 1.1.0.9... if you can reproduce this bug in this version or later, please let us know and provide detailed info on how you reproduced the bug so we can reopen this ticket.
@SuperGeniusZeb
Resolving as fixed as of 1.1.0.9... if you can reproduce this bug in this version or later, please let us know and provide detailed info on how you reproduced the bug so we can reopen this ticket.
How do you expect us to use 1.1.0.9 if we are sitting on 1.0.7?
@unknown, if you're not using the beta, then I don't expect you to use 1.1.0.9. I expect you to wait until 1.1 launches as the main release version, and then test the bug when the update happens. If you are on the beta, then you should have no trouble in testing the bug, since 1.1.0.9 (AKA 1.1 beta build 7) is the latest beta build.
I play win10 v1.0.8. Use pocket mode for inventory. Seems like if a switch to classic and then back again, I start missing things. I accused my realm of stealing. This is a major major problem.
Please remember this site is not a forum. Please keep comments here limited to new information related to this issue only; offtopic and unnecessary comments may be removed.
If you wish to discuss this issue in further detail you may wish to follow the community support link below or start a topic here.
Quick Links:
π Issue Guidelines β π¬ Community Support β π§ Feedback β π Game Wiki
Sadly have to report I had this show up again in 1.1.0.9, specifically, I lost a sword in inventory slot1 when trying to top up a furnace input slot.
This was an old furnace, is it possible that could be the cause as I've tested this in 1.1.0.9 previously and it seemed to be working ok but that was probably with a furnace created in 1.1.0.9?
Could furnaces generated in earlier versions still be affected?
If so, would breaking/placing update it or would one need to destroy and remake all old furnaces?
Also affects v1.0.8 in iOS. Only workaround is to full exit and restart the game. Very frustrating.
MCPE-20243 Is much more descriptive IMO. I've only observed this behavior with villager trading. Killing the villagers won't get your sword back btw!
Effects 1.9 Samsung Note 3.
This is happening to me in 1.1.0 on iOS, seemingly just from interacting with the inventory GUI. At first I thought it was limited to maps, but I've since lost a variety of other items. Items in the hotbar seem to be safe, from what I can tell.
I've lost several enchanted weapons and other items that were in the hot bar. It seems on my ipad that I lose whatever was just in hand but it's random as to when it happens. Seems almost as though it only happens when I'm close to my house.
Well what happened was that I was playing on my dads server while all of the sudden I lost connection while I was trying to craft a enchanting table with two diamonds and some obsidian. And so I reconnected and then my 2 diamonds and all of my obsidian disappeared from my inventory and so I checked my chest to see if they ended up there, but I did not see it, they are gone and so I started to look and dig around but it was no where. I need the bug to be fixed!
Comment cross-post from MCPE-20458 as the same behavior applies.
Confirmed that the MCPE Version 1.1.1 update, downloaded and installed on June 21, 2017, does not fix this issue for me. In survival, I have lost many high-end enchanted items, and didn't realize it was a bug until I read this thread. I stopped playing for over a month until yesterday's update was released. Once I entered the saved world, I had a diamond sword loaded into the first slot in the hot bar (my double-enchanted diamond sword was overwritten previously so I constructed a plain diamond sword as I was a long way from my spawn and enchanting table). When re-entering the world the first time after update, the sword was in the inventory and first slot of hot bar. I forgot that I had changed to classic interface. I decided to change to the pocket edition interface, and accidentally minimized the app (on iPad Mini 2, iOS version 10.3.2). I brought the app back into focus (never cleared it from memory), and went to the display settings in the app to change to the pocket edition interface. When I returned to the world, now with the pocket interface, my diamond sword was gone, both from the inventory and hot bar. This bug makes the game unplayable in survival mode.
Same issue here on 1.1.0 (sounds like its still an issue in 1.1.1, which I just downloaded.) An iron sword with sharpness 1 was nearly depleted. When it disappeared, I thought maybe it broke and I didn't notice. Went straight away to crafted a diamond sword (not enchanted). Accessed furnaces and a couple of chests, went out to harvest wheat, feed cows, and chop down trees with iron axe. On my way back in, I decided to kill a few of the cows and discovered I had no sword. Retraced my steps and checked all chests and furnaces. Not in any of them. It's happened before with various items (one was another iron sword for sure--don't remember what else with enough certainty to post here), but I was never totally sure I hadn't just misplaced the item until this time with the brand new diamond sword. Really annoying.
Update: Reading a previous comment reminded me: One time the item I lost was while using the enchanting table, but leaving the table without completing the enchantment or manually removing the items. I checked a chest and when I went back to the enchanting table the item I had been about to enchant was no longer in my inventory. I think it was a partially depleted iron pickaxe, but I'm not 100% sure about that.
Problem still exists in pe on android as of 6/24/17
Apparently my autoupdate was on and the game updated, the game and now the glitch/ bug is snow balling to its original status that it was at before the adventure update on android so it's better but getting wors.
Just to update you.
Confirm this is happening frequently for me on 1.1.2 (iOS, iPad Pro 9.7"). I'm losing valuable items so regularly I've surrendered my 'never cheated' status on this world and am maintaining a list of what exactly I have and the enchantments, and when they vanish, getting them back in creative. It's actually not worth playing to be honest, as I can't keep track of what has been lost, it's very common when I use a chest or hopper.
This problem disappears if you use the classic interface. A bit of a pain learning the recipes but it does have other advantages. I used to swap from one interface to the other when I needed to but now have swapped to the classic interface all the time. Rather that than lose so many valuable items until this is fixed.
IOS version, on an ipad air 2 Seems to effect the first three slots. Seems what ever is being used duplitcations or changes items in these slots. Last night it was a pickaxe, bow and sword changed into coal when trading with villiagers.
I can confirm this issue still occurs on iOS version 1.1.2, at least in Realm. It is not only associated with Furnace, it can also occur when switching to other GUI views.
Also affects 1.1.3.1 - just lost my entire inventory trading rotten flesh, on the upside I think I've figured out how to reliably reproduce this bug ( on pocket UI atleast ).
Interact with an UI that places limit on the shown items ( eg, furnance, villagers ) but allows stackable items
place in less than a full stack ( or trade/smelt untill there is less than a full stack )
press and hold on a full stack in your inventory to "top off" the items in the UI
Minecraft attempts to transfer all 64 item then ones that cant fit are put back into your inventory - how ever since it can only see items of a particulare type ( smeltables, coal, rotten flesh, etc ) this "resort" action then overrides the first inventory slot containing items that are filtered.
I hope the explanation makes sense - else I'll try to do a step by step in pictures.
Still there in realms 1.1.3. Just lost my enchanted bow (forgot to move it to the chest before accessing a firnace). It's a shame, guys!
Lost diamond pickax and iron sword to an item frame. Both were enchanted. This is in version 1.1.3 minecraft PE on an iPad mini.
The same with my survival worlds. I lost several highly enchanted tools. I think it happens
while opening inventories of horses, furnaces, chests on lamas and so on.
MCPE 1.1.3.52
I I hope logging in and adding to this thread will help notify the right people. My son and I play on iPone 6s and Kindle Fire 7, version 1.1.4. We've lost several enchanted items.
I read through the comments and can confirm that it seems to happen when interacting with furnaces and horses. Sometimes it seems like I'll be holding a tool and then feed a horse, the tool turns into whatever item you're feeding the horse. One second, I'll have an enchanted sword, and the next I have wheat in its place:/ Very frustrating. Lost several enchanted diamond items in survival.
Hope this helps and that the next update will fix this issue.
Merci!
Thanks Morten Haggren . You made me clear how to avoid it at least for now.
Several times I have been loosng my enchanted sword( i have it on my 1st slot which disappears in times. Now I switched the slots with food).
It is too hard to find out when and how this happens.
Now I am used to get backups from time to time.
I realized that this happens with trading and came here to report but then even became clearer what the exact problem is. I hope this to be fixed soon.
1.1.5 - MCPE on Android. Lost enchanted diamond pick, enchanted diamond sword, and stack of cooked beef. These are the only things I've noticed but I'm sure there have been others. On occasion I have been able to "recover" the item by "save and quitting" and then re-opening the app. Another, possibly related thing I've noticed is that sometimes an inventory item will show in more than one slot. For example, I'd harvest 20 wheat and then go feed the cows. I'd look and see 2 wheat groups in my inventory even though when I harvested there was only one. I cannot confirm but maybe the wheat I'm feeding the cows is overwriting the enchanted item.
Losing your enchanted diamond stuff is extremely annoying to say the least. At the moment I'm afraid to enchant anything.
I am also having this issue. I have lost weapons I worked hard for and lost my saddle resulting in my fave horse being tied up on the other side of the map because I couldn't ride him home. Every time I untie a lead or add/remove a saddle or feed animals this happens. Has anyone found a work around?
I wanted to update and note that I am seeing this issue happen more often since I last updated to 1.1.5. It is happening every time I feed or breed animals or open the inventory to saddle horses. It seems to be duplicating the animal food and the horse lead and wiping out the item in my 1st hotbar spot. This is usually where my main weapon is.
Sometimes exiting the game right away and going back in will fix it and my weapon is back but for some reason it has only worked when there is a stone sword I don't care about. If it is a valuable item or saddle I have not been able to recover it this way and it is gone forever. For me this bug is having a huge impact on my game. Is there an update on a hotfix or when this will be resolved? Looking back it appears it has been an issue for quite some time and I see several cases resolved but they were never really corrected
This should be fixed in 1.2 (currently in beta)
It makes me really happy to see this will be fixed, but isn't 1.2 months or a year away? This bug is game ruining. I was really hoping it'd qualify for a 1.1.6 or similar, sooner patch.
On the bright side, this bug has been a teaching opportunity about computer software with my children. And how bugs can make something so broken you don't enjoy it any more thus why quality and testing is really important.
@Lorin here is the workaround. Whenever you are planning to trade with a villager or feed an animal or use a furnace, always put all your valuable stuff into a trunk and only keep out the stuff you need for your task. You pick up your good stuff from the trunk again later. Since I started doing this I haven't lost any good stuff. Thanks to all the people on this thread who clarified all the conditions under which these losses were happening!
I wanted to note that trying to "get your item back" by quickly exiting the game and re-entering is a very very bad idea. The way the game saves data, it will instantly record when you remove something from a chest but there is a delay before it records that your person is carrying it. So if you exit the game during that window of time, those recently transferred items disappear forever.
I don't know if that's a bug or just the intended way the system works. It's easy to avoid by making sure you don't exit the game right after taking stuff into your inventory. Where it sucks is when the game crashes right after grabbing something. Because whatever you just grabbed will be gone.
@unknown As a workaround until 1.2 is fully released, you can avoid this problem by switching to the Classic UI.
[MCPE Mod] Mega_Spud, will it be possible, after another update, to play in Pocket UI ? Actually, the Classic UI isn't easy to use on a phone. Indeed, as it's made for computers, it's smaller than the pocket one. So it's hard to see what you're doing, and to move items.
This is shameful to be going on for so long. With a fix of using storage or classic mode? That's not a fix it's placation.
Yes there is still the option to use the Pocket UI in 1.2. Bear in mind the suggestion to use the classic UI is only a workaround until the fix is fully released.
Now that 1.2 is out, the patch notes only mention that an inventory item duplication bug was fixed. Which is what I associate with feeding animals, where one item would morph into a copy of the stack of food you were using to feed.
What about items disappearing when you interacted with the furnace? What about items disappearing if you simply opened a trade window with a villager? Have these two [related?] data corruption issues also been fixed with the official 1.2 release? Or must I still toggle into and out of Classic UI to keep my items safe?
The whole inventory system has had an overhaul for 1.2, so you shouldn't see any of those issues in either the Classic or Pocket ui from now on.
I've just had that on JE 1.16.2 for a second time, but while first time item disappeared forever, this time i paused to search the issue, and when I returned, the item was back in the slot. Odd.
Is this on single player?