I created a brand new world on Minecraft Bedrock PE a few days before the 1.17.2 big fix update came out. Over the past few weeks, I have noticed that my villagers have been despawning at random. Iām playing on peaceful so I know they are not dying to zombies or any other mobs. On top of that, there does not seem to be any sort of pattern I can find. It does not seem to matter how long I have had the villagers, nor how leveled up they are. So far, it has happened to two diamond level farmers and several base level librarians. Most of my villagers have these professions so if it happens at random, I would assume it happened to these professions since there are more of them.
Related issues
Comments

Thank you for your report!
We're tracking this issue in MCPE-21416, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
š Bug Tracker Guidelines ā š¬ Community Support ā š§ Mojang Support
š Project Summary ā āļø Feedback and Suggestions ā š Game Wiki