mojira.dev
MC-241327

Render Distance 13 at the world border causes excessive lag

If you go to the world border in 1.18 Pre-release 1 with a render distance higher than 12
The server will take forever to process a single tick. Making seem almost as if its freezing.

Attachments

Comments 2

Don't mark my bug reports as Cannot reproduce

Steps to reproduce in 1.18 pre-release 4:
1. Create a superflat world
2. Run `/tp 29999983 4.00 29999983`
3. Put your render distance to 20
4. Place a piston down next to a clock

This happens due to:

ChunkMap::schedule

 attempting to get a chunk that cannot be created due to being outside of the world border. The game then attempts to upgrade that chunk, which leads to multiple issue. The main one is that it attempts to load the chunks next to this chunk, which is also outside of the world border. It's bad but can easily be fixed by having a check either in `ChunkMap::schedule` to prevent chunks beyond: 1875010 (wb chunk + 12) or change the invalid chunk position to not load these chunks to begin with

 

 

PR0CESS

billysjoberg

Confirmed

Important

Performance

1.18 Pre-release 1, 1.18 Pre-release 4

1.18 Pre-release 7

Retrieved