If there is a bed, when the villager tries to go to sleep, but the door is on the opposite wall of the wall the villager is nearest to, it will just walk up to the nearest wall and stay there. In fact you sometimes have to punch it to get it to the door.
Related issues
Attachments
Comments


This issue has been going on since version 1.19. The size of the structure does not matter as to the villager will sit on the opposite side of the wall next to a bed instead of moving a few blocks to the open door. Also the villagers will sometimes sleep next to an open bed on the floor

dupe of MCPE-42912

Thank you for your report!
We're tracking this issue in MCPE-42912, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.