Mobs and Entities can despawn randomly
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.
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.
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 [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-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:
- Load [EX] Chunk border despawn demo.mcworld
. - Press the button to spawn a villager.
- Save & quit, then reload, to confirm that the the villager is kept in the world save.
- Open the world, flip the lever, and start a stopwatch.
- After about 10-15 seconds, close Minecraft without exiting the world (for example, in Windows 10 press alt-F4).
- 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 Zeb: 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.
2017-04-21, 05:42 AM
2025-02-08, 12:38 PM
2024-10-17, 07:30 PM
1505
637
97757, 112005, 248300
entity, lan, multiplayer, nether, realms
1.21.10.21 Preview - 1.21.23 Hotfix
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