I noticed some of my primary inventory items had disappeared on day one of 1.0.4.1 after a long session of testing trading.
As there are several long standing bugs causing loss of items in one way or other (definately NOT MCPE-15010 happening here!!), I didn't report until I got time to recreate it with meaningful info.
Recreation:
Using PE GUI
In a single session without exiting the villager trading GUI.
Librarian offering 1 emerald at cost of 25 paper.
Shot1 Inventory before trading: Note slots 1, 2 and 3.
I cant be sure of the exact additions and trades order as I was fiddling
and watching how the gui behaved but essentially I was just stuffing the
input with as much paper as I could, to 64 obviously, then trading as much
as possible, then topping the input up again by long pressing a full stack
to refill the input slot. Kept trading until the villager locked out the offer.
Shot2 Inventory after trading.
Note that contents of slot 1, 2 and 3 have been overwritten with paper contents.
The original content of Cooked Pork, Steak and Mutton have disappeared.
Observations:
I noticed the following, if for example..
I loaded the 43 part stack of paper into the input slot.
Trade one emerald.
I have 18 paper in the input slot (offer is 25)
Long pressed a full stack in invetory to fill input slot to 64 (46 transfer to input slot, then input slot stops incrementing at 64)
Release the long press.
At this point the GUI animates a movement from the long pressed slot to some slot towards slot 1.
As I was TopUp/Trading repeatedly this happened on each top up so several times in total over the trading session.
This correlates with the number of inventory slots overwritten and items lost.
I think the overwrite/loss is happening here while reshuffling the remainder of the long pressed slot back into inventory once the slot is filled and the long press subsequently released.
Other Info:
Villager Spawn Versions..
Not sure if this is a factor..
I'm not sure on what version all of the villagers were spawned some may have been as far back as 0.14.
Many of them were "born" and raised on 1.0.4/1.0.4.1 as I have been breeding and selectively culling the villagers to shape the professions of the population and improve randomized elements of the offers.
I can post villager NBT data From MCPEViz logs if it helps debug.
Linked issues
Attachments
Comments 15
I can confirm this issue. Pick, Sword, Stack of iron bars all lost during trading.
This happened in a Realms world
Same here, lost one enchanted sword in my first inventory slot (replaced by the extra carrots that the villager didn't want because he received enough of them) while trading ; happened twice the same way.
Please see MCPE-19511 for the comment from "[MCPE Mod] elite041802 (Kaleb Wasmuth)" which prompted adding more detailed steps to recreate this bug.
MCPE-20243 Villager Trading Case
Setup:
1. Items in inventory - Case2-1.png
2. Open a Farmers Trading GUI, goto Potato page - Case2-2.png
3. Load Input slot with 64 Potatos from slot 3 on left hand side
4. Trade 15 Potato for 1 Emerald, leaving 49 Potatos in Input slot - Case2-3.png
Up to this point all is as expected, pay close attention to next actions.
So now I want to top up the Input Slot, from slot 2 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*
5. Long press slot 2 on left hand side.
6. Wait until the input slot refills to 64.
*NEXT STEP IS WHERE THE BUG HAPPENS*
7. Release the long press.
So, now the Input slot is filled back up to 64, from the stack of potatos in slot 2 on
left hand side of the Trading GUI and
*the remaining 49 potatoes are returned to the Inventory*
(Confusing why it ended up with 50 in slot1 and 63 in slot2?) - Case2-4.png
8. Exit Trading GUI
9. Open Inventory - Case2-5.png
*Obvserve that*
64 potatos have moved from the original stacks position
in slot 35, to slot 1
*OVERWRITING THE ORIGINAL CONTENTS OF SLOT1, namely Glass*
^^^^^^^^^^^^^^^^^THE BUG^^^^^^^^^^^^^^^^
Still happening to me after the last update (1.05) on my Ipad, exactly as Mr Smeo has described it; very annoying, I have to go trading with almost nothing in my inventory if I don't want to lose valuable items (losing an enchanted diamond sword is extremely annoying as you can guess)! I thought this was fixed, but it is not, please do something
edit: this is also happening on villagers born after 1.05 in survival mode
Thank you for your report!
However, this issue has been closed as a Duplicate of MCPE-18617.
If you could add any additional information to that ticket it would be appreciated, as we are trying to get to the bottom of these inventory/ui bugs!
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Feedback – 📖 Game Wiki
I play win10 in pocket mode. I switch between classic and pocket. This seems to trigger the disappearing of items from inventory. Just a thought.
This still happing to me now it's really frustrating spend ages at a zombie spawner to get an awesome sword and then when I went to trade all the rotten flesh my sword dissapeared
Relates to: MCPE-18617