The game doesn't register when a player nametags a villager. It's been happening to me a lot, everytime when I'm building near a villager(nametaged), the game will eventually dispawn it if I stay for too long around that area. It is really annoying because I have lost a lot of good villagers several times already.
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 – 📖 Game Wiki