In the 1.14 update, I started seeing in my personal village at night where a bunch of villagers where crowding on the doors trying to get in, even 1 villager can't get in the door, expect for the upper floor rooms which had no carpet on front of the door, I broke the carpet and then suddenly all the villagers came stomping in, I soon realized that the carpets were preventing villagers from entering, possibly their height. But this never usually happened in old updates. It was pretty annoying of how the villagers couldn't get in, especially in a room full of carpet designs on the floor, the only solution to the problem was deleting the carpets or replacing the carpets with wool blocks.
Related issues
Comments

Works as intended, it is indeed their height. And no, this is not caused by the latest update. I've used this technique in 1.12 before

btw MC-97799 talks about the villagers pathfinding through carpets even though they can't pass through them. This is just saying they can't walk through
Duplicate of MC-97799