The infamous 'merge' bug

That’s what I’m trying to figure out, you said spells are cast from the ‘root position’ so I’m assuming they’re cast literally from HumanoidRootPart.Position right? Which would mean that it has to be the HumanoidRootPart that’s merging. Now you just need to figure out how it’s merging. Is it welding itself to the NPCs?

It could be related to SurfaceTypes

Well, it could be that another part in the humanoid is welded like the head or legs. It would be difficult to tell the difference that way, because the HRP would still be at the center of the culprit minion.

You could try checking if any players’ HRP.Position is matching with a minion’s HRP.Position? Might not be a good fix but it’s a start towards debugging it at least.

Have you tried using :GetConnectedParts(true)?

I’ve experienced something very similar - In my game occasionally players would weld to parts of the planet when they would join it, for no apparent reason. In my experience other players viewed them as stuck in place - but client side they were able to move just fine. There wasn’t anything in my code causing it and the fix for it made me even more sure it was a bug - I downloaded waterlimons util module, and required it on a serverside script.

Now, I didn’t use any of the functions, and it ended up lagging my game and forced me to find another solution - but after requiring it to the server script the bug completely stopped. The util was placed in the replicated storage and required on a serverscript. Idk if you had to require it, all I know is that’s all I did. The util tracks all of the welds/joints that get added to the game, and I am thinking the fact that it referenced them fixed the problem. I would try using it and seeing if you get any similar results, to narrow down the problem a bit. Weirdest thing I have ever dealt with.

1 Like

I think I just encountered this. Super weird and should be fixed.

Sure the staff want to fix it, but won’t be able to without proper info:

  • Link to game
  • How often it happens in your game
  • If it happens often enough in your game, how to reproduce
  • Any non-smooth SurfaceTypes on characters’ parts?
  • Does yourTorso:GetConnectedParts(true) return the “merged” parts attached to your character?
  • Does using BreakJoints on the other charcter detach their limb from yours?
  • When they move around, do they affect the merged joint?
  • When you move around, does it animate?
  • How are you creating your characters?
  • Use an explorer viewing script/GUI – are the merged limb and its joint parented to the correct character? Are the joint’s Part0/Part1 linked to the correct parts?
  • Age of Legends - Roblox
  • This was the first time I’ve seen it in probably 100+ hours of playtesting, seen it one more time since
  • We both spawned in roughly at the same time, maybe the rigs cloned at the same time and something very bad happened?
  • All the surfaces are smooth
  • The merged joint moves with their character and is independent of mine, since all the character rigs are all local and created locally in my game
  • No, it does not animate
  • The character rig is premade (joints and all) and then cloned and welded to the characters root part

Blank answers are because I haven’t had a chance to repro and check yet. Will update if I do.