mojira.dev
MCPE-186676

Trading for emeralds using second slot causes game to crash

When trading paper with villagers, the game will allow you to trade 3 times and on the 4th trade, it will crash. Currently I'm able to work around the issue by closing the trade menu after the 3rd trade and opening it again, repeating this process for however many emeralds I want.

This is on a realm on survival with normal difficultly. I have restarted my PC and have tried both yesterday night and today to see if the issue was resolved. I have tested this with my brother who is also playing on the windows version on a different PC, lives in a different address and his game also crashes. Before the patch yesterday, this wasn't an issue.

The video attached first shows how I work around the issue by trading 3 times then closing while next part shows what happens when I trade 4 times.

Linked issues

Attachments

Comments 11

I also am having this problem. I find that it is whenever you trade with a villager in the second slot of the villager when the trade only requires the first slot. I have gotten the crash with librarians, cartographers, and fletchers although I am sure it will work with any villagers that require two slots to trade.

 

The world that I play in on 1.21.30. It is on windows and is not a realm.

I also am having this problem. I find that it is whenever you trade with a villager in the second slot of the villager when the trade only requires the first slot. I have gotten the crash with librarians, cartographers, and fletchers although I am sure it will work with any villagers that require two slots to trade.

 

The world that I play in on 1.21.30. It is on windows and is not a realm.

I am also experiencing this crashing issue on a 1.21.30 local PC world. The crash will also happen on a brand new 1.21.30 world and added no resource packs.

I can consistently cause the crash to occur when using the right-hand slot with paper.

If I put in emeralds and books, the game does not crash. If I put paper into the left-hand slot, the game does not crash. After putting paper into the right-hand slot and on the fourth trade, the game is guaranteed to crash.

I have video recordings if needed.

Can confirm. As Glen Roberts mentions, the only way I've been able to reproduce the crash is by using the right-hand/second inventory slot to complete the trade.

Steps to reproduce:

  1. Spawn a villager that has two trading slots.

  2. Place the items you want to trade in the right-hand (or second slot).

  3. Complete a few trades (around 4).

Observed results:
The game will consistently freeze and crash after a few trades.

Expected results:
No crashes should occur.

1 more comments

Does anyone know how to fix this problem???????? This is really irritating me

Stonesmith654 there's no fix for this bug yet, but you can workaround it by making sure not to trade using the right-hand trading slot. If you only use the left one, the game won't crash.

Edit: The crash appears to occur when trading using the second trading slot of a villager of any profession.
According to MCPE-186840 this is also an issue with fletcher villagers.

Same problem here. Trading paper using both slots consistently crashes the game. Only started this week. Interesting bug, hope they fix it.

Same problem here. Trading paper using both slots consistently crashes the game. Only started this week. Interesting bug, hope they fix it.

blonde_mutant

(Unassigned)

1293415, 1287444

Confirmed

Multiple

11

1.21.40.22 Preview, 1.21.30

1.21.40.23 Preview, 1.21.31 Hotfix

Retrieved