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

The game can crash when upgrading worlds with zombie villagers from before 1.9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w19a
    • 24w18a
    • None
    • Community Consensus
    • Crash, Datafixer
    • Very Important
    • Platform

      Summary:
      When upgrading zombie villagers from before 1.9 to 24w18a, there seems to be a chance that the game crashes. It seems that the more zombie villagers there are, the higher the chance for the game to crash. If there are only a few zombie villagers, it usually doesn't seem to crash. This is probably because it randomises the profession when upgrading, since zombie villagers before 1.9 have no profession. This doesn't occur in 1.20.6. But in 1.20.6, when loading the world, the messages “Failed to load chunk at [X, X]” appear.

      Steps to reproduce:
      You can skip steps 1 and 2, use this world: 2024-05-04_20-53-44_New World-----.zip
      There are many zombie villagers in the world so that the chance of crashing is almost 100%, but this can happen even from ≈30 zombie villagers.

      1. Create a world in 1.8.9.
      2. Spawn a lot of zombie villagers using the following command:
        /execute @e ~ ~ ~ summon Zombie ~ ~ ~ {IsVillager:1b}
      3. Upgrade the world to the latest snapshot.

      Observed result:
      The game crashed.

      Expected result:
      The game should not crash.

        1. 28e587ee-ab9b-4bad-b8c2-d614cbac18c5.png
          1.88 MB
          [Mod] EVGENSYPERPRO
        2. crash-2024-05-04_21.11.34-server.txt
          54 kB
          [Mod] EVGENSYPERPRO
        3. deobf_crash-2024-05-04_21.11.34-server.txt
          65 kB
          [Bot] Arisa

            boq [Mojang] Bartosz Bok
            EVGENSYPERPRO [Mod] EVGENSYPERPRO
            Votes:
            5 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: