Villagers Despawn

Joined
Apr 6, 2021
Posts
2
#1
I had 4 villagers despawned on me while they were beside me
2 of which were name taged and one of the two had a job.
What is wrong with this, and how can I make sure that villager dont despawn