in version 1.14.0 everything was fine, but when I updated to 1.14.1 and checked my mob farm I realized that the bug of the mobs in which they do not despawn had returned. I tried to change the difficulty to peaceful and then to normal but it didn't work, then use the blocktopograph app that allows you to see the entities in the whole map, that confirmed that the bug in which the mobs do not despawn has returned. This bug does not generate new hostile entities near the player. I hope you solve it 🙂
Related issues
Attachments
Comments


Likely MCPE-59682. Pretty sure this has nothing to do with mobs not despawning (the only mob that despawns in light level below 7 are drowned - and 14.1 hasn't changed that).

well, in 1.14.1 they may not have touched any of that, but surely the appearance of entities changed, at least for me, since around the player it is very rare almost that no hostile entity is generated and in the Ocean biome do not appear fish or octopus, and this happens to me from 1.14.1 to the last beta, then if it is not what I proposed above I do not know what it could be 🙂

I'm not sure how old your world is but it could be related to that if the entities are old. As far as I understand it, the current system is that if the mob sees/tracks to the player (becoming hostile) at all then they become a permanent entities until killed. In the old system they all acted that way so would not despawn. I'm playing Win10 version on single player and I can confirm that newly spawned mobs do despawn over time if they haven't tracked to the player.
Perhaps try moving to an unexplored area, pillar up so nothing can see you and watch to see if mobs despawn once you are far enough away. Are you on realms?