Create

Create

86M Downloads

[Bug] [Crash] Minecart creations with too much NBT data

KyGost opened this issue ยท 7 comments

commented

Type: Bug - Crash

Cause: Minecart creations in item form with too much data

Error message:

Connection Lost
Internal Exception: io.netty.handler.codecDecoderException: java.lang.RuntimeException: Tried to read NBT tag that was too big; tried to allocate: 2097156bytes where max allowed: 2097152

Description: Picking up a minecart creation which has many items in chests on it (in this case a large tunnel bore that had been running for a while) causes the player to get kicked from the server/game (this does not crash the server nor crash/exit the game), trying to rejoin results in the same error.

Potential solution: I have no where near enough expertise to comment on this and yet, for some reason, I am anyway. Perhaps if minecart creation data was stored in some other DB rather than directly on items (kinda like maps?) this would probably be solved.

Other notes: I have run into issues already with trying to grab a minecart creation out of a simple storage access point before though with a much lower tolerance. Though this is an aside and less important.

commented

I have seen this mod recommended for this issue. https://www.curseforge.com/minecraft/mc-mods/xl-packets

This does not help with forge 1.16.5! They have to push a fix themselves.

commented

This issue has been marked as stale because it has been inactive for 3 weeks. It will be closed if it remains inactive for another 3 weeks.

commented

Happens on 1.18 too. Also tried connectivity mod. Only way to solve this is to modify/delete playerdata. Would be cool to add a config option to modify NBT size limit.

commented

This issue has been marked as stale because it has been inactive for 3 weeks. It will be closed if it remains inactive for another 3 weeks.

commented

This issue has been closed since it has been inactive for 3 weeks since it was marked as stale.

commented

I have the same problem with a minecart. At me it only crashs in multiplayer maby you can set the NBT Size to an higher.

commented

I have seen this mod recommended for this issue. https://www.curseforge.com/minecraft/mc-mods/xl-packets