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

Mobs and Entities can despawn randomly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.18.30
    • 1.21.10.21 Preview, 1.19.60.25 Preview, 1.19.20.20 Preview, 1.18.32, 1.18.30.23 Preview, 1.18.30.22 Beta, 1.18.20.21 Beta, 1.18.10.22 Beta, 1.18.10.21 Beta, 1.18.0.27 Beta, 1.18.0.24 Beta, 1.18.0.21 Beta, 1.18.0.20 Beta, 1.17.30.25 Beta, 1.17.30.24 Beta, 1.17.30.23 Beta, 1.17.30.21 Beta, 1.17.30.20 Beta, 1.17.11 Hotfix, 1.17.20.23 Beta, 1.17.20.22 Beta, 1.17.20.21 Beta, 1.17.10, 1.17.20.20 Beta, 1.17.10.22 Beta, 1.17.1 Hotfix, 1.17.10.20 Beta, 1.17.0.58 Beta, 1.17.0.56 Beta, 1.17.0.52 Beta, 1.16.220, 1.16.220.52 Beta, 1.16.220.50 Beta, 1.16.210.61 Beta, 1.16.210.60 Beta, 1.16.210.58 Beta, 1.16.210.57 Beta, 1.16.210.54 Beta, 1.16.210.53 Beta, 1.16.210.51 Beta, 1.16.100.60 Beta, 1.16.100.58 Beta, 1.16.100.57 Beta, 1.16.100.56 Beta, 1.16.30.52 RTX Beta, 1.16.100.55 Beta, 1.16.100.54 Beta, 1.15.0.11 RTX Beta, 1.16.100.53 Beta, 1.16.100.52 Beta, 1.16.100.51 Beta, 1.16.100.50 Beta, 1.16.20.54 Beta, 1.16.20.52 Beta, 1.16.20.50 Beta, 1.16.0.68 Beta, 1.16.0.67 Beta, 1.16.0.66 Beta, 1.16.0.64 Beta, 1.16.0.63 Beta, 1.16.0.61 Beta, 1.16.0.60 Beta, 1.16.0.59 Beta, 1.16.0.57 Beta, 1.16.0.58 Beta, 1.16.0.55 Beta, 1.16.0.53 Beta, 1.16.0.51 Beta, 1.15.0.55 Beta, 1.15.0.51 Beta, 1.14.20 Hotfix, 1.13.1, 1.14.1 Hotfix, 1.12.0.2 Beta, 1.0.7.0, 1.1.0.55, 1.1.2.50, 1.1.3.52, 1.1.4.51, 1.1.5.0, 1.2.0.22, 1.2.0.81, 1.2.3.3, 1.2.3.6, 1.2.9.1, 1.2.10.2, 1.2.11.4, 1.2.13.10, 1.2.13.54, 1.2.13.60, 1.2.16.3, 1.4.0.5, 1.6.1, 1.8.1, 1.11.1, 1.11.2, 1.11.4, 1.12.1, 1.13.0, 1.14.30 Hotfix, 1.14.60 Hotfix, 1.16.0, 1.16.1, 1.16.10, 1.16.21, 1.16.20, 1.16.50 Hotfix (iOS), 1.16.40 Hotfix, 1.16.61 (PS4), 1.16.100, 1.16.101 Hotfix, 1.16.200, 1.16.201 Hotfix, 1.16.210, 1.16.221 Hotfix, 1.17.0, 1.17.2 Hotfix, 1.17.30, 1.17.32, 1.17.33, 1.17.34, 1.17.40, 1.17.41 Hotfix, 1.18.0, 1.18.1 Hotfix, 1.18.2 Hotfix, 1.18.10, 1.18.12 Hotfix, 1.18.30, 1.18.31, 1.19.2 Hotfix, 1.19.10, 1.19.11 Hotfix, 1.19.22 Hotfix, 1.19.30, 1.19.31 Hotfix, 1.19.40, 1.19.41, 1.19.51, 1.19.60, 1.19.63, 1.19.71, 1.19.72, 1.19.80, 1.19.81 Hotfix, 1.20.12 Hotfix, 1.20.14 Hotfix, 1.20.30, 1.20.31 Hotfix, 1.20.32 Hotfix, 1.20.41 Hotfix, 1.20.71 Hotfix, 1.20.73 Hotfix, 1.20.80, 1.21.10.20 Preview, 1.20.81 Hotfix, 1.21.1 Hotfix, 1.21.2 Hotfix, 1.21.21 Hotfix, 1.21.22 Hotfix, 1.21.23 Hotfix
    • Confirmed
    • Multiple
    • 97757, 112005, 248300

      Update November 2021

      We are tracking an issue with all or nearly all mobs in the area around the player vanishing when the world is reloaded in versions 1.17.30 through 1.18.2 Hotfix at MCPE-144208. Please do not comment here if that describes your experience.

      Moderator Note by DrAwesome4333 and GoldenHelmet

      Please limit comments to New information about the issue. A short list of what is most helpful and what is not is listed below. Please take the time to read this brief list before commenting.

      A list of mobs you have lost is not helpful information. We know this bug can impact any mob, we know that leashed mobs that despawn will leave behind a leash knot, and we know that when villagers despawn their beds and workstations remain linked to the missing villager until you break them or 20 minutes pass. What might be helpful are details about things like

      • what you were doing leading up to the mobs disappearing
      • single vs. multiplayer, local vs server/realm
      • how far you traveled
      • how long the current or previous play session lasted
      • whether the despawns were near a player spawn point or if you had changed your player spawn point during the session,
      • if you experienced lag or anything else abnormal.
      Workaround (updated Dec. 5, 2020)

      Some cases of persistent mobs despawning can be traced to them crossing chunk borders between saves, so one way to guard against randomly losing mobs is to prevent them from crossing chunk borders (you can read about finding chunk borders on the wiki). However, this is not a guarantee or a fix. Positioning mobs away from chunk borders does not mean you will never lose a persistent mob again. Many cases of mobs randomly despawning remain unexplained by the tracker staff and player community.

      Updated description by GoldenHelmet July 22, 2020
      This ticket is used as parent for all otherwise unexplained mob disappearances. It covers mobs disappearing related to nether portal travel, long distance single-dimension travel, crashes, realm lag, and any other circumstance, except for the specific circumstances covered by MCPE-88322, MCPE-66818, MCPE-51837, MCPE-16863, and MCPE-108568, MCPE-141539, and MCPE-144208.

      Some random mob despawns can be explained by the mobs crossing chunk borders between auto-saves. Other random mob despawns are reported for mobs that were unable to cross chunk borders.

      I have attached a test world that can be used to reproduce despawning on chunk borders due to a crash with the following steps to reproduce:

      1. Load [EX] Chunk border despawn demo.mcworld.
      2. Press the button to spawn a villager.
      3. Save & quit, then reload, to confirm that the the villager is kept in the world save.
      4. Open the world, flip the lever, and start a stopwatch.
      5. After about 10-15 seconds, close Minecraft without exiting the world (for example, in Windows 10 press alt-F4).
      6. Reopen Minecraft and reopen the test world.

      Expected result

      The villager is still present.

      Actual result

      Sometimes the villager will be gone. I estimate this occurs about once out of 20 attempts. You can see the entire sequence in Chunk border despawn demo.mp4.

      What happens when the villager disappears is that sometime between flipping the lever and force-closing the game, the chunk in which the player is located gets auto-saved and the chunk to the right does not. You can verify this by observing that a honey block is also missing--the fact it was pushed out of the left chunk by the piston is saved, but the fact it was pushed into the right chunk is not.


      Original description
      When I go to Nether and I went back my horses an my animal that I feed is disappear

      Edit by SuperGeniusZeb: When playing on multiplayer, entities can despawn when you travel to the Nether and back to the Overworld.

      Keep in mind that naturally-spawned monsters and animals that have never been interacted with are SUPPOSED to despawn. When testing this bug, please make sure to interact with monsters or animals you're observing first, by tempting them with food, breeding, or name-tagging them. This is not necessary for villagers or iron golems.

        1. IMG_2621.PNG
          IMG_2621.PNG
          679 kB
        2. IMG_2622.PNG
          IMG_2622.PNG
          988 kB
        3. 2017-07-01 (2).png
          2017-07-01 (2).png
          106 kB
        4. 2017-07-01.png
          2017-07-01.png
          423 kB
        5. 2017-07-01 (1).png
          2017-07-01 (1).png
          703 kB
        6. 2018-05-12 16.21.12.png
          2018-05-12 16.21.12.png
          2.01 MB
        7. horse_corral.jpg
          horse_corral.jpg
          413 kB
        8. sheep_pen.jpg
          sheep_pen.jpg
          501 kB
        9. Horse.jpg
          Horse.jpg
          486 kB
        10. NoHorse.jpg
          NoHorse.jpg
          490 kB
        11. C5A35E2F-73D5-4425-97EA-555BB116E079.png
          C5A35E2F-73D5-4425-97EA-555BB116E079.png
          926 kB
        12. Pigs_Despawning.png
          Pigs_Despawning.png
          1.33 MB
        13. Screenshot_20200522-195543.png
          Screenshot_20200522-195543.png
          463 kB
        14. A0113685-1087-4161-97FC-E7C1B54F925D.jpeg
          A0113685-1087-4161-97FC-E7C1B54F925D.jpeg
          1.93 MB
        15. BDED736F-8E02-4616-AD94-B09E0529313C.png
          BDED736F-8E02-4616-AD94-B09E0529313C.png
          1.65 MB
        16. IMG_0122.png
          IMG_0122.png
          3.53 MB
        17. IMG_0123.png
          IMG_0123.png
          3.48 MB
        18. IMG_0137.png
          IMG_0137.png
          2.23 MB
        19. [EX] Chunk border despawn demo.mcworld
          115 kB
        20. Chunk border despawn demo.mp4
          5.48 MB
        21. noborder.png
          noborder.png
          803 kB
        22. Untitled.png
          Untitled.png
          610 kB
        23. library 1.png
          library 1.png
          691 kB
        24. library 2.png
          library 2.png
          754 kB
        25. library3.png
          library3.png
          806 kB
        26. screenshot-1.png
          screenshot-1.png
          952 kB
        27. Light levels for Rogue Cheddar despawn room.png
          Light levels for Rogue Cheddar despawn room.png
          321 kB
        28. image-2020-09-10-16-22-17-817.png
          image-2020-09-10-16-22-17-817.png
          997 kB
        29. image-2020-09-21-15-06-24-519.png
          image-2020-09-21-15-06-24-519.png
          830 kB
        30. Minecraft 6_29_2020 11_01_23 PM.png
          Minecraft 6_29_2020 11_01_23 PM.png
          1.13 MB

            Warm11589 CHUMPOL JARUKITJAROON
            Votes:
            1505 Vote for this issue
            Watchers:
            637 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: