I’m fairly new to this, so I’m sorry if this doesn’t classify as a bug.Â
Villagers in my game have a bunch of problems.Â
for starters, villagers have trouble finding beds (even if they weren’t even occupied). They would just stand there and/or spin in circles.Â
If I put a new building up that’s 2 story and put a bed on the second story,
 With stairs, they would be spinning around and they would be not able to find a bed (keep in mind, even if the bed isn’t even occupied already)Â
Villagers would often go back and forth with emitting green particles and the thundercloud particles even if nothing happened out of the ordinary (job site destroyed or bed destroyed, etc)Â
Â
a lot needs to be worked on with the villagers. I’m not completely sure if I have everything and I profusely apologize if I left some stuff out :/
Â
edit: also villagers claim beds that they can’t even get to. Ex: a villager would claim a bed but they won’t go through the actual door and it’s really annoying lol. They would be at the back of the house and try to claim the bed but won’t go through the actual entrance so they can actually sleep
Â
edit 2: some grammar errors.Â
edit 3: I am so sorry but I forgot to add that the bed wasn’t blocked by anything. They could very easily get to the bed, it’s just that they don’t want to for some unknown reason lol
Related issues
Comments


Villagers not pathfinding around walls to their beds is MCPE-42912.
Claiming beds they cannot reach is MCPE-50441.
Getting stuck on various blocks is MCPE-45560.
There's a lot to unpack here and you've included several seperate issues. Regarding the pathfinding, that is a well known bug with all mobs not being able to walk properly on full blocks.
Villager linking breaking happens often but its easy to avoid. If a villager cannot reach a bed/bed is broken/player sleeps in the bed, then it causes a cascade effect which can break several villagers at once as they all try to organize their linking. If you are just trying to setup a trading hall then its advisable to link a single villager a bed, then never touch that bed again and don't place anymore beds within the area. I recommend looking up some videos on villager mechanics for more detailed explanations and prevention techniques.