Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-79359

Mobs can despawn immediately after spawning

XMLWordPrintable

    • Confirmed
    • Multiple
    • 357691

      The 1.16.0.61 beta introduced scaled instant despawn distances based on a world's simulation distance setting. For simulation distance 4 the instant despawn radius was reduced from 54 blocks (the previous radius since 1.16.0.51 beta) to 44 blocks, presumably in order to ensure that non-persistent mobs are never saved in unloaded chunks (since MCPE-78840 is WAI). However, the spawning area still extends to 54 blocks from the player. This results in spawns between r44 and r54 being immediately despawned. This wastes processing power in an endless loop of pointless activity, and it is also visually unpleasant.

      Steps to reproduce

      1. Set simulation distance to 4 and turn on mob spawning.
      2. Stand in a flat area.
      3. Look toward the distance.

      Expected result

      You see mobs spawn and wander around, only disappearing when they wander away from you. Beyond the line where wandering mobs disappear, you see no mobs at all.

      Actual result

      Beyond the line where wandering mobs disappear, you regularly see new mobs appear then immediately disappear.

        1. TickingAreasDespawn.png
          TickingAreasDespawn.png
          38 kB
        2. TickingAreas.png
          TickingAreas.png
          15 kB
        3. SlimeChunkTest.mcworld
          966 kB
        4. Screenshot from 2020-06-25 17-05-43.png
          Screenshot from 2020-06-25 17-05-43.png
          62 kB
        5. Screenshot from 2020-06-11 21-57-00-1.png
          Screenshot from 2020-06-11 21-57-00-1.png
          62 kB
        6. Screenshot from 2020-06-11 21-57-00.png
          Screenshot from 2020-06-11 21-57-00.png
          62 kB
        7. Screenshot from 2020-05-19 22-58-31.png
          Screenshot from 2020-05-19 22-58-31.png
          64 kB
        8. 3d_representation.png
          3d_representation.png
          686 kB
        9. 128_sphere.png
          128_sphere.png
          1.31 MB

            GoldenHelmet [Mod] GoldenHelmet
            Votes:
            96 Vote for this issue
            Watchers:
            38 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: