I've had a problem with villagers spontaneously disappearing for no reason. They all had beds, jobs, and name tags and the couldn't have died of natural causes. I went from having at least 12 villagers to having 2. I'm not sure if this is a glitch or if I did something wrong but if it's a big please fix it.
Related issues
Comments

Thank you for your report!
We're tracking this issue in MCPE-144208, 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 – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki