Additional information from MCPE-188725:
If a player sets their spawn point while standing on that same spawn bed, they will be placed inside that bed upon their next respawn and the game will try to correct this by forcibly pushing the player out. This can often lead to deaths from fall damage as this bug is likely to push the player off cliffs without any input.
Steps to reproduce:
Create a new world in creative mode
Build a 2x2 platform suspended 24+ blocks in the air
Place a bed on that 2x2 platform
Stand on the bed and set your spawn point
Jump off the 2x2 platform
Click the respawn button
Expected Result:
The player is either placed on top of the bed smoothly, or beside the bed on the 2x2 platform.
Observed result:
The player is placed inside of the bed when they respawn and are then pushed out of the bed with no player input, leading to death from fall damage.
Original Description:
I'm for some reason spawning inside my bed
Linked issues
is duplicated by 2
Attachments
Comments 3
I think it happens because the game always trespass you on the bottom of a block, but a bed is a half block, so you'll go into it.
Continues to affect not only the 1.21.60.23 and 1.21.60.24 Previews, but also the 1.21.51 Hotfix.
What makes this even more difficult to deal with is that sometimes the game will ignore inputs as the players is struggling to get themselves out of the bed to avoid being forcefully pushed out and falling to death. This bug should Definitely be a priority because of how much it poses a risk during gameplay, especially since the drop of hardcore in armored paws.
Just adding my description for the issue since it was closed as a duplicate of this one:
Observed on the current server release (1.21.20.03). It may be two different bugs with the same trigger, but this is what I've observed for players on Windows, PS4 and PS5.
When a player sleeps in a bed, they spawn back colliding with the bed, causing them to bounce off the bed as if they had jumped on the bed. In at least two cases this also caused the player to clip through the floor, once being stuck underground and suffocating, once appearing inside lava.