Villagers only recognize beds and workstations at random times. Villagers will ignore them and wander aimlessly until without anything changing they suddenly will recognize them and interact with them properly. Then again at random intervals they all go back to ignoring them. No particles to show that they cannot reach them or the bed is obstructed, just ignoring completely. Discovered it on a dedicated server, tested in creative on the same seed and it worked perfectly, then switched back to the server and still only works at bursts. All villagers have the same problem at the same time, all villagers both ignore and recognize at the same time.
Related issues
Comments


I've noted same behaviors on XBox One
both in preupdate villages and 1 new village. No rhyme or reason as to why, one of my large villages has got dozens wondering around ignoring work stations and beds, for which there are plenty.

Thank you for your report!
We're actually already tracking this issue at MCPE-49580, so I resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Yep it's a bug. This also happens on realms. I'll be watching it. For now we'll have to get used to it until the devs make a fix for it though... Thanks for reporting anyways 🙂