Villagers have despawned from roaming away from them. Possibly from entering the Nether or the End. It has happened while staying in the over world. They're kept safely in a house with beds,a bell, job blocks and most are at max trade level.
Another world I have also has the same issue. These villagers roam free inside a walled-in well lit area guarded by iron golems villagers have spawned. It's possible these may have died but highly unlikely. I've never seen any mobs spawn while building.
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:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 BDS Wiki – 📖 FAQs
-- I am a bot. This action was performed automagically! Please report any issues in Discord or Reddit
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:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 BDS Wiki – 📖 FAQs
-- I am a bot. This action was performed automagically! Please report any issues in Discord or Reddit