ViaVersion / ViaFabric

Client-side and server-side ViaVersion implementation for Fabric
https://viaversion.com/fabric
GNU General Public License v3.0
324 stars 38 forks source link

[ViaFabric 1.21] Inventory related disconnection/crashes #355

Closed ThatMG393 closed 3 months ago

ThatMG393 commented 3 months ago

/viaversion dump Output

https://dump.viaversion.com/c8c978cc4496b01c00516314df9e3aea698ef231c9345ef8fc7ed7453711e9e4

Console Error

https://mclo.gs/lKbVbGg

Bug Description

Inventory related disconnection (your game crashes instead when you have ViaFabric 0.14.4+main74 & ViaBackwards 5.0.2-SNAPSHOT installed instead of the server)

Steps to Reproduce

  1. Login to a MC 1.21 Server with a 1.20.4 (never tested on older clients)
  2. Creative: just open your inventory. Survival: open your inventory and click an item.
  3. Disconnected

I also created an issue on the ViaVersion repo: https://github.com/ViaVersion/ViaVersion/issues/4012

Expected Behavior

I don't get disconnected or my game will not crash.

Additional Server Info

Minecraft Server Version: 1.21 Minecraft Client Version: 1.20.4 ViaFabric Version: 0.14.4+main74 ViaBackwards Version: 5.0.2-SNAPSHOT

Checklist

Kichura commented 3 months ago

Update ViaVersion.

ThatMG393 commented 3 months ago

Update ViaVersion.

How? Isn't ViaVersion already included in ViaFabric? Seems like recompiling this project fixed the problem.

Kichura commented 3 months ago

Update ViaVersion.

~How? Isn't ViaVersion already included in ViaFabric?~ Seems like recompiling this project fixed the problem.

It is bundled but the bundled version is outdated, meaning you have to install latest viaversion from CI into your mods folder as override.