multiconnect

multiconnect

108k Downloads

[1.17.1] -> [1.12.2] Unable to join server, dropping chunk packets too far away from render distance center

Nessiesson opened this issue · 6 comments

commented

I left a server after teleporting to a random location and flying around for a bit. A bit later when I wanted to join the server again, the game froze on the "Loading terrain..." screen, ultimately disconnecting. Attached is a logfile of opening the client and attempting to join the server.

latest.log

commented

Weird, seems to only be happening in that location on the dugged creative server, I'll investigate

commented

I've fixed the chunk packets being dropped, in terms of the disconnect, that looks like a timeout, and will likely be fixed by optimizing the chunk translator. That location you were disconnecting at has a lot of subchunks to translate. As a workaround for now, try decreasing your client render distance.

commented

Thank you for looking into this! Unfortunately, it seems to not been sufficient as I am still unable to join, even at render distance 2. :/ At least it doesn't spam dropped chunk warnings in the logfile anymore.

commented

Ah, this is going to be a fun optimization issue. I'll do some profiling tomorrow to see what can be done about it

commented

@Earthcomputer , it looks like this issue is back in 1.19, but this time it is Ignoring chunk since it's not in the view range:
https://youtu.be/hHmpCYGp1_s

commented

UPD: Can't reproduce this from the desktop Java Edition, this is probably a problem on the PoJav part.
UPD2: Reproduced: [Demo]