This also happened to me. I built an auto villager carrot farm and it worked magnificently. When I quit the world and logged back in, I saw 2 villagers gone from 2 of the chambers in my farm. There was no chance the villager could have died as the place was well lit up, surrounded with cobblestone walls and most importantly, it was indoors. This is EXTREMELY ANNOYING because this means I have to reorganise how the villagers link to their beds and their workstations. I would love to see this fixed as I can't imagine the pain I have to go through if my villagers in my trading hall disappeared.
This also happened to me. I built an auto villager carrot farm and it worked magnificently. When I quit the world and logged back in, I saw 2 villagers gone from 2 of the chambers in my farm. There was no chance the villager could have died as the place was well lit up, surrounded with cobblestone walls and most importantly, it was indoors. This is EXTREMELY ANNOYING because this means I have to reorganise how the villagers link to their beds and their workstations. I would love to see this fixed as I can't imagine the pain I have to go through if my villagers in my trading hall disappeared.