Sometimes villagers will stay outside at night.
Farmers can get distracted for prolonged periods with their crop activities. Some also get distracted and linger at windows, and sometimes linger outside doorsteps, trying the stairs once and then pausing to rest before moving again, sometimes aiming somewhere else besides the door they're at. The ones on the fenced-in porch can also take quite a while to move indoors.
Linked issues
is duplicated by 17
relates to 1
Attachments
Comments 36
This happens to me as well, it's rather annoying.
My village had one door that was easily accessible, the library, and all villagers ignored it. Several of them stood staring at the church which had spawned too high to be entered, others stood between the library and the house next door (also inaccessible). I added blocks to access the church and house, and some of the villagers went inside but others stayed out, even when I pushed them until they moved, they would wander elsewhere without going inside. Two of them stood to either side of the block of dirt staring at the door as if they still couldn't figure out how to get inside. The monster AI has been able to follow me through much trickier paths than that.
I had heard before that villagers would gain a negative reaction to the player if villagers were killed by zombies, but I don't see how I'm expected to help if they can't even go inside at night. I really hope they don't implement that one.
Also, why would they need a door not taken by other villagers? They can go into buildings together. They do it all the time.
My village is in seed: PuzzleMage at -458, 64, 115. I have seen similar behavior elsewhere.
Still in 1.6.2. Seed: WindowTravel coordinates (124, 78, 263) the first night. See attachment.
for previous comment
affects 19w12b

If this affects you, please provide reproduction steps (seed, coordinates, world download, etc). Thanks.
affects the newest snapshot as wellÂ

This report is currently missing crucial information. Please take a look at the other comments to find out what we are looking for.
If you added the required information and a moderator sees your comment, they will reopen and update the report. However, if you think your update to this report has been overlooked or you want to make sure that this report is reopened, you can contact the Mojira staff on Discord or Reddit.
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit
Can confirm in 1.20.1
I saw a cleric villager just standing still outside at night in my superflat world, not moving for maybe 2 minutes until I set the time to day.Â
Not sure if the bug is caused by me using the "/time set night command" in the first place though.
Were there spare doors nearby that weren't taken by other villagers?