-
Bug
-
Resolution: Fixed
-
1.14.4, 19w39a, 19w40a, 19w41a, 1.15 Pre-release 1, 1.15.1, 1.15.2, 20w06a, 20w12a, 20w17a, 20w18a, 1.16 Pre-release 2, 1.16 Pre-release 4, 1.16 Pre-release 5, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2, 1.16.3, 1.16.4 Pre-release 2, 1.16.4, 20w45a, 20w46a, 20w49a, 1.16.5, 21w06a, 21w08b, 21w11a, 21w15a, 21w16a, 21w18a, 21w20a, 1.17 Pre-release 4, 1.17 Pre-release 5, 1.17 Release Candidate 1, 1.17 Release Candidate 2, 1.17, 1.17.1 Pre-release 1, 1.17.1 Release Candidate 1, 1.17.1, 21w40a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 5, 1.18 Release Candidate 3, 1.18, 1.18.1 Pre-release 1, 1.18.1, 22w07a, 1.18.2 Pre-release 1, 1.18.2, 22w12a, 22w17a, 22w18a, 1.19, 1.19.2, 1.19.3, 23w07a, 1.19.4
-
None
-
Confirmed
-
Performance
-
Important
The bug
I've encountered some sort of lag spike which I narrowed down to be a floating structure. This structure can be a single block.
The lag spike seems to occur when I'm moving into the spawn chunks while an elevated block is placed on the opposite side of the spawn chunks. It occurs when the block is at Y96 or higher.
To replicate what I did on a 1.14.4 vanilla server:
- Create a default world with seed:Â -4952361208952771886
- Place a block at x 143Â y 63 z -371 and another block at x 144 y 63 z -371. This is the location to test for the lag.
- Place a block at x 307 y 96 z -302. This will be the block to create the lag.
- Set the spawn point to x 227 y 66 z -376
- Walk back and forth over the two blocks you placed earlier.
- If you see a stutter, feel free to remove the block at x 307 y 96 z -302 and check again. Lag will be gone.
I cannot attach the video as the file size is slightly too large but you may watch it here:Â https://youtu.be/jmtq3jcXujo
I should note that it is not specific to my PC. It occurs on other clients on other devices.
Render distance will affect where the lagspike occurs in vanilla singleplayer, but is relative to the view-distance on servers. I believe it's distance + 1 in chunks, or there abouts.
Code analysis
Code analysis and further explanation by PhiPro can be found in this comment. There also exists a Fabric mod that fixes this issue: comment.
- is duplicated by
-
MC-167553 Lag Spike if you go trough specific chunks in Amplified
- Resolved
-
MC-168419 Massive frame drops caused by light update while crossing certain chunks
- Resolved
-
MC-168904 FPS is drops unless i hold down a mouse button
- Resolved
-
MC-168956 Moving across specific chunk borders causes a lag spike
- Resolved
-
MC-169580 Lag spikes, between chunks
- Resolved
-
MC-170809 When playing anything above 1.13, crossing a chunk border causes scheduled executable to jump up in use, causing fps drops
- Resolved
-
MC-175907 Lag spike when moving between chunks
- Resolved
-
MC-187877 Game Freezes For a Few Seconds when Crossing Chunk Borders
- Resolved
-
MC-191436 When walking through chunks, cause lag spikes.
- Resolved
-
MC-197794 Lag Spikes
- Resolved
-
MC-199123 Chunk lag
- Resolved
-
MC-205013 Chunk border fps freeze
- Resolved
-
MC-207183 Chunk borders cause severe lag upon crossing them.
- Resolved
-
MC-213646 Noticable freeze frame when walking through one specific chunk border
- Resolved
-
MC-214826 Frame drops when switching chunk
- Resolved
-
MC-217171 Lag spikes when going to a new chunk on the positive X or Z axis.
- Resolved
-
MC-217175 sometimes entering new chunks causes frames to plummet
- Resolved
-
MC-220227 Lag spike when crossing 2 loaded chunks
- Resolved
-
MC-222997 Chunk Lag-Spikes
- Resolved
-
MC-224176 FPS drop on specific coordinates.
- Resolved
-
MC-224935 crossing chunkborders near worldspawn and in proximity to worldspawn in its direction cause severe server lag spikes when using caves and cliffs data pack
- Resolved
-
MC-233172 Big frame drops while entering random sets of chunks (1.17-optifine)
- Resolved
-
MC-241711 Weird Swamp Lag Spike
- Resolved
-
MC-243095 Freeze lag for certain chunk
- Resolved
-
MC-247637 Chunk Lag Spike
- Resolved
-
MC-250587 Lag spike when entering in some chunks
- Resolved
-
MC-251184 Versions above 1.8 stutter even with high FPS
- Resolved
-
MC-251275 Huge frame rate drop after going from chunk to another chunk (it doesn't happen in all the chunks)
- Resolved
-
MC-252805 lag peak
- Resolved
-
MC-254750 Lag spike when entering some chunks
- Resolved
-
MC-255037 i get extreme lag spikes when crossing chunk borders (1.19 java)
- Resolved
-
MC-256397 FPS Drops entering certain chunks
- Resolved
-
MC-261759 Lag spike when entering a new chunk
- Resolved
-
MC-262423 Massive lagspike when crossing chunk borders
- Resolved
- relates to
-
MC-229115 Lag spikes when crossing chunk borders when facing a specific direction
- Reopened
-
MC-158672 Entering certain chunks causes FPS drops
- Resolved
-
MC-170010 Sky-lightmaps not properly initialized
- Resolved
-
MC-250246 Moving in mangrove swamps FPS/TPS drop below normal forests
- Reopened
-
MC-166005 Stuttering when crossing chunk borders/loading chunks
- Resolved
-
MC-187345 Performance decrease in 1.16 compared to 1.15.2
- Resolved
-
MC-188295 Placing fallling blocks using /setblock can cause a client-side lag spike in some circumstances
- Resolved