I have had this issue on and off a couple times when playing 1.18. I had this issue but less severe in 1.17 bedrock. Every single villager I own disapears seamingly randomly sometimes after saving and quitting. They are villagers made in 1.17 and have a place to live and a bed to sleep in but they all seem to disapear along with all other entities to my knowlege. I have checked and I have the game fully updated, I also have more then enough space for the game and world. I found that for other people that seemed to have my issue but it always claimed to be resolved but this isn't the case.
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.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki