I know this has probably been reported before, but I think lots of people (including me) thought that villagers would not randomly despawn when in minecarts or boats. They will now despawn at random times even if in a mine cart. I unfortunately do not have video showing them disappearing, partly because I think it happens when leaving the game or changing dimensions. It may have to do with crashes on startup and when changing dimensions, as I have been experiencing those. I have not yet tried using name tags but I will soon, if it still happens I will make another report. This is a huge issue as name tags are difficult to find and should not be the only way to prevent a supposedly non-despawning mob from disappearing. Thank you.
Related issues
Comments


Thank you for your report!
We're actually already tracking this issue under MCPE-21416 so I've requested this report be 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.
Please always use the search feature before creating a new ticket to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
EDIT: I only play on single player, never on realms or with other people. This issue has occurred on peaceful difficulty in a completely enclosed (underground) room, and I always changed the weather during a thunderstorm. I am aware that sometimes mobs will disappear on chunk borders, but I have had entire villages disappear at once. It has only happened to me after the Village and Pillage update so that may have introduced a bug along with all the new features that came with villagers.