Weld constraint kills both welded characters if one dies

Welcome roblox team!
There is an odd bevavior occuring where, if you use a constraint to attach two players together and one of them dies, both players are killed. This issue doesn’t happen consistently but occurs often. Why would I need to weld players together? Handcuffing someone, holding a kid, overall more advanced interactions with other players.
NOTE: There is an argument that if you have BreakJointsOnDeath enabled the killed character’s connected joints are destroyed, which would mean that the welded player loses all the joints too, resulting in killing that player by the existing character logic wherebreaking the neck joint results in the player’s death, but disabling the BreakJointsOnDeath results in the exact same behavior, so the argument is debunked.

Reproduction Steps:

  1. Ensure there are 2 players.
  2. Disable BreakJointsOnDeath for both humanoids
  3. Players must be welded to each other with any constraint.
  4. Kill one of the players

Results: Both players die (this bug occurs approximately 50% of the time)
Expected behavior: Only the killed player dies

Reproduction File: Reproduction File.rbxl (54.4 KB)

2 Likes

Hey! Have you tried using the AlignPosition and AlignOrientation constraints yet?