Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-239474

Autosaving now causes extreme and gameplay-impacting lag

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 21w42a, 21w43a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 4, 1.18 Pre-release 5
    • 1.18 Pre-release 5
    • None
    • Community Consensus
    • Performance, Save Data
    • Very Important

    Description

      In 21w42a, whenever the world autosaves, there's a huge lag spike compared to auto-saving in 21w41a. This issue also causes legitimate gameplay issues, as mobs are able to attack the player some time before the world unfreezes, resulting in unfair deaths. I've noticed that it gets even laggier if you've mined some blocks and moved away from spawn as well.

      Steps to reproduce:
      1. Open a world.
      2. Punch some trees and move away from spawn.
      3. Wait for the autosave.
      Expected behavior: The game will autosave as usual, with little to no lag.
      What actually happens: The game freezes for a few second, and mobs can attack the player before the game unfreezes.

      Attachments

        Issue Links

          Activity

            People

              searge [Mojang] Searge (Michael Stoyke)
              Lunade_ Lunade Lunade
              Votes:
              30 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: