I have a base that goes inside a mountain that also houses my primary bed. After the 1.20.10 hot fix I wasn’t able to sleep in my bed because there were supposedly hostile mobs nearby. I looked all over for what could have been causing this, and I concluded that there were absolutely no hostile mobs in my area. The owner of our realm made a copy to test things out, ultimately discovering that the usually peaceful mobs, the skeleton horses, had counted as a hostile mobs. After I got back on, I moved the horses away from my bed, and could now sleep perfectly fine again. I’m not sure how this happened, but I’ve never had this issue until this hot fix.
Additional note: When turned to peaceful mode, I was able to sleep fine with the horses, but weirdly, they did not despawn. It seems that peaceful mode overrides the bug currently.
Thank you for your report!
We're tracking this issue in MCPE-172928, 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