The bug
While a player is dead, the server doesn't notify it of other entities that are killed while the player is in the death screen.
To reproduce
You'll need two accounts that can join the same world to reproduce this issue. It's also possible to reproduce the bug by using commands or redstone if you know how to do that.
Player 1 places some boats in front of player 2
Player 2 kills itself
Player 1 destroys the boats while Player 2 is in the death screen
→ ❌ The boats don't disappear on Player 2's death screenPlayer 2 respawns
→ ❌ The boats are now invisible, but their hitboxes remain.
Videos
From Player 1's perspective:
[media]From Player 2's perspective:
[media]Linked issues
is duplicated by 2
relates to 3
Attachments
Comments 6
I edited the ticket to exclude the confusing way to reproduce using command blocks. It's perfectly possible to reproduce without command blocks as well (and makes the issue easier to see).
Perhaps this issue is related to MC-137370 ?
Possibly related to MC-29375?
This actually might be the same bug as MC-29375.
Method 2 did not work for me, but method 1 did. I attached two videos of me reproducing the bug, one from my main and one from my second account.
Edit: I didn't use command blocks to test this, that way you can see the issue more clearly.