Villagers won't detect beds when doors on the way
Villagers won't detect a bed in a covered environment if there's a door on their way.
The bug first appeared in a normal situation as shown on the 3 first screenshots. I broke the door and problem solved.
So I made a glass test thing and it confirms the bug.
Therefore, villagers doesn't sleep at night. They also seem not to go out during daytime..
Steps to reproduce: set your time to night time, make a covered room with a bed and a door, spawn a villager next to the structure: the villager won't go sleeping.