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

Mobs and Entities can despawn randomly



    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Beta, Beta, Beta, Beta, RTX Beta, Beta, Beta, RTX Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, Beta, 1.14.20 Hotfix, 1.13.1, 1.14.1 Hotfix, Beta,,,,,,,,,,,,,,,,,,, 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)
    • Fix Version/s: None
    • Confirmation Status:
    • Platform:
    • ADO:
      97757, 112005, 248300


      Updated description by [Mod] 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-66818, MCPE-51837 and MCPE-16863.

      There are 2 main kinds of random mob despawns discussed in the comments below: individual mobs disappearing near chunk borders, and groups of mobs in a chunk disappearing at the same time. Both of these seem to be connected to chunk saving or loading.

      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 hourses an my animal that I feed is disappear

      Edit by [MCPE Helper] Zeb: When playing on multiplayer, entities can despawn when you travel to the Nether and back to the Overworld.

      Keep in mind that entities that have never been interacted with are SUPPOSED to despawn. When testing this bug, please make sure to interact with the entities you're observing first. If the entity ever sets you as its target, follows you, or gets fed/bred/punched/etc. by you, that counts as an interaction. Also, make sure you are actually experiencing this bug and not MCPE-1982.

      Moderator Note by [MCPE Mod] Dr.Awesome4333: Please only comment New information about the issue.

      Update on this issue:

      We are still working on a solution for this issue. Currently entities can end up being lost if they happen to be positioned on the boundary between two chunks when the game crashes. One workaround for this is to position mobs away from chunk boundaries, which can be calculated using coordinates.


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

          Issue Links