summary of the bug:
bed always "Your home bed was missing or obstruited".
What I expected to happen was...:
born near the bed when i respawn from a die.
What actually happened was...:
i respawn in the first point i was born whit
"Your home bed was missing or obstructed"
Steps to Reproduce:
(after doing the same things like create a world in survivor, allowing command, born and so on...)
pick (in creative) or build (in survival) a bed
wait night (or reach night whit command /time set night)
sleep in a bed
die (or /kill @p)
Related issues
duplicates
Attachments
Comments

Thank you for your report!
We're actually already tracking this issue at MC-146381, so we will resolve and link 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.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.