Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Can't join game crashes out #2774

Open
4 tasks done
BurkenDev opened this issue Jul 31, 2024 · 1 comment
Open
4 tasks done

[BUG] Can't join game crashes out #2774

BurkenDev opened this issue Jul 31, 2024 · 1 comment
Labels
a:bug Crash or feature not working as expected

Comments

@BurkenDev
Copy link

Prerequisites

  • I made sure I am running the latest development build
  • I tried to look for similar issues before opening a new one
  • I have set debugmessages=true in config to diagnose my issue
  • I have redacted session tokens and passwords before attaching screenshots

Minecraft Version

1.21

Console Client Version

20240713-273

Expected Behavior

Join and stay online and not crash out 1 second after joining the server??

Actual Behavior

Unhandled exception. System.IO.InvalidDataException: Failed to process incoming packet of type JoinGame. (PacketID: 40, Protocol: 763, LoginPhase: False, InnerException: System.Collections.Generic.KeyNotFoundException).
---> System.Collections.Generic.KeyNotFoundException: The given key 'minecraft:chat_type' was not present in the dictionary.
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at MinecraftClient.Protocol.Message.ChatParser.ReadChatType(Dictionary2 registryCodec)
at MinecraftClient.Protocol.Handlers.Protocol18Handler.HandlePlayPackets(Int32 packetId, Queue1 packetData) at MinecraftClient.Protocol.Handlers.Protocol18Handler.HandlePacket(Int32 packetId, Queue1 packetData)
--- End of inner exception stack trace ---
at MinecraftClient.Protocol.Handlers.Protocol18Handler.HandlePacket(Int32 packetId, Queue`1 packetData)
at MinecraftClient.Protocol.Handlers.Protocol18Handler.Updater(Object o)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
Aborted

Steps to Reproduce the bug

./MinecraftClient-20240713-273-linux-x64

Attach screenshot here (If applicable)

No response

Anythings that could help diagnosing the bug

No response

Device

Other

Operating System

Linux

Server Address (If applicable)

No response

@BurkenDev BurkenDev added the a:bug Crash or feature not working as expected label Jul 31, 2024
@milutinke
Copy link
Member

1.21 is not supported yet.
It will be when I have the time to finish 1.20.6 (porting it to 1.21 will be quick).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:bug Crash or feature not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants