So I've encountered multiple problems with the villager's AI and pathfinding. its kind of a lot so i've organized it into a neat list.
They are sometimes unable to open doors. And I say sometimes because according to my test results at least half of the villagers I spawned in a village either didn't survive the night or couldn't leave their houses/workplaces. because they can't open doors, they frequently get stuck in their houses or locked out of their houses and work places leaving them either permanently useless untill you break the door or left out to die because the zombies attack them.
Villager's try to Pathfind through walls. This one is self-explanatory, villagers frequently try to get to their work place or bed through a wall instead of the door which also goes hand in hand with number one. so not only do they constantly try to Pathfind through walls to try to get to their beds or work spaces, but on the rare occasion they do successfully Pathfind.... they cant open the door.
When I spawn a villager next to a bed, they don't always set it as theirs. I don't know if this is a bug or not but I'll leave this here anyway. So I spawn a villager in a house and you would assume that they would set it as their bed because It's the closest but no. Most times, they end up setting a bed far far away from them, theirs.
I am building a little town out a village that I encountered while playingΒ the Traveling trader map made by Jigarbov not to far from the game's pillager outpost area. idk if that matters or not but i just thought I'd point that out.
Thank you for your report!
However, this issue is Invalid.
Please put only one bug report in each ticket. It is very difficult to keep track of bugs when they are not in their own tickets, and it is easier for you to make multiple tickets than for the mods to separate them.
Please make sure you search before creating new tickets for these issues. I believe yours are covered by the below (but I could be wrong).
1. MCPE-49497
2. MCPE-50766
3. I don't think Villagers are intended to link to the "closest" bed, I believe the only requirements are that the bed be within 48 blocks and not taken. I don't have an official source for this though so if you want to create a bug report for this one feel free π
Quick Links:
π Issue Guidelines β π¬ Community Support β π§ Customer Support β π Game Wiki