I continuously have the issue of all wild mobs despawning while I'm still in shooting distance (well within my simulation distance of 12 chunks). I am trying to cure Villager Zombies, but when I catch one and go get my supplies nearby, I see them vanish before my eyes. It's ridiculous. Animals do the same thing. The only mobs that stick around are my pets (horses, Trader llamas, dogs, cats, skeleton horses). However, at some point, I had six llamas despawn and one skeleton horse despawn despite being leashed.
It feels like the simulation distance is buggy and I wish it had more than 12 levels on Bedrock for PC considering that people like me can have great hardware than can handle it.
Related issues
Comments


I tested to see if leashing still gives persistence to mobs, and it does. So I am going to resolve this report as a duplicate of MCPE-152500 and MCPE-21416. Please add your vote to those reports and follow them for updates.

I shouldn't have even mentioned the leashing. That's not even the main point

Let me clarify what I meant, and sorry for the confusion.
Mobs that you have seen but not interacted with should despawn if go far enough away. These mobs despawn instantly in chunks on the inside edge of simulation distance. On simulation distance 12, that would be about 11 * 16 = 176 blocks away.
Mobs that you have seen but not interacted with should not despawn within 30 seconds of spawning. However, the 30 second immunity is not working, and that bug is tracked at MCPE-152500.
Mobs that have taken damage such as by you hitting them should have the 30 seconds of despawn immunity restarted, but they don't, and that is also covered by MCPE-152500.
Mobs that you have interatcted with by leashing, taming, breeding, or nametagging should never desapwn. However, they sometimes do not get saved, and that bug is tracked at MCPE-21416 if it relates to them being able to cross a chunk border. That's almost certainly what happened if the leash knot was left behind on the fence despawned.
Seems similar to MCPE-152500. Have you had an instance of mobs that are leashed despawning as of 1.18.10? If you have, it is likely related to MCPE-144208 or MCPE-21416.