Summary:
Mobs spawned from a spawner despawn when the player moves more than 54 blocks away from them.
Steps to Reproduce:
Place a spawner.
Use a spawn egg on the spawner.
Wait for the spawner to spawn a mob.
Move more than 54 blocks away from the mob.
Move back to where the mob was.
Observed Results:
The mob despawns when moving more than 54 blocks away from it.
Expected Results:
The mob should not despawn when moving more than 54 blocks away from it.
Original Description:
I was playing on my let's Play World and i have a xp farm and when i was there there were a lot of Zombies while i left it and when i came back after a while there wasn't even a single zombie left
Related issues
Comments


There was nothing in the 1.16.0.51 changelog about monsters spawned by spawners no longer having persistence by default. I wonder monsters spawned by spawn eggs and summon commands also lack persistence now?

Mobs spawned from spawn eggs and the summon command still have persistence.

The reason people thought that mobs do not despawn from the spawner is that old despawn mechanics will not despawn all mobs at once, instead only 1 mob is chosen to despawn when that chuck has been selected and when the player is at 54/56 blocks away. I can see why it seems like it has a persistence behaviour.

Well maybe youโre right Eyeth. Itโs also the case that if you are close enough to activate a spawner, then you are also close enough to be targeted by the mob that spawns, and targeting used to give persistence. If it doesnโt now, then MCPE-34032 is also fixed.

Goldenhelmet
That sounds about right. When the player has been targeted, it becomes persistence. I probably didn't notice that part very much since the mobs can't see me by the set up I built.
Thank you for your report!
However, this issue has been closed as Working as Intended.
If you need help or have a suggestion you might like to follow a link below.
Quick Links:
๐ Issue Guidelines โ ๐ฌ Mojang Support โ ๐ง Suggestions โ ๐ Minecraft Wiki
Works correctly. 1.16 added mob despawn mechanism when player is more then 54 blocks away.