Bugs with new HumanoidDescription system

So bug 1: If the user is holding a tool and their right hand happens to change when ApplyDescription is used this will break the RightGrip weld in the hand where if not unequipped will intersect the kill plane. This is fairly reliable and I wrote a small repro project. This does not change if the right hand is not replaced.

Bug 2: Sometimes the character will die when their appearance is changed, again using ApplyDescription. I’m not entirely sure what the cause of this is, however the repro above will display this behavior occasionally.

The following place spawns in your character, then every 5 seconds changes your appearance to some more recent player. If you are wearing a rare package you can usually immediately trigger the bug on spawn by holding out the tool, it will be dropped. This is the one script, in Starter Character Scripts

while true do
	wait(5)
	local appearance
	repeat
		appearance = game.Players:GetHumanoidDescriptionFromUserId(
            math.random(458889005, 958889005)
        )
	until appearance

	pcall(
		function()
			script.Parent.Humanoid:ApplyDescription(appearance)
		end
	)
end

CharacterAppearanceBugRepro.rbxl (13.4 KB)

3 Likes

Thanks for letting us know about these issues. Bug 2 should be fixed tomorrow. Bug 1 we will take a look into

5 Likes

I found tools dropping could be circumvented by automatically unequipping the active tool when the right hand is deleted and requipping when a right hand is readded.

As for humanoids dying when their description changes is there any update or workaround for this? I’m actively using it in a game for a disguise system and it’s a big problem for my players. Should I revert to my previous disguise system while this gets sorted out?

A fix went in for this last week. Are you still seeing the problem? Do you have some repro steps? Or maybe an rbxl file which shows how you’re getting the issue?

1 Like

Apologies, It looks like the bug is gone. I kept getting reports from users who must not have known it was fixed yet so I assumed that it was still buggy.

Hello, I have noticed that there’s still issue with tools.

I noticed that characters do re-equip the tool, but it will fall.

I apologise for bumping an old post, however I have this exact problem in my game. I use this popular code, it kills my character on respawn once again after it dies. This also breaks some of the accessory scripts.

local Players = game.Players

function PlayerJoined(Player)
	local function RemoveMeshes(Character)
		local Humanoid = Character:WaitForChild("Humanoid")
		wait()
		
		local CurrentDescription = Humanoid:GetAppliedDescription() -- gets the current applied description
		-- changes all of the body parts description to 0 (default)
		CurrentDescription.Head = 0
		CurrentDescription.Torso = 0
		CurrentDescription.LeftArm = 0
		CurrentDescription.RightArm  = 0
		CurrentDescription.LeftLeg = 0
		CurrentDescription.RightLeg = 0
		Humanoid:ApplyDescription(CurrentDescription) -- we only changes the body parts so the rest stays the same
		
	end
	Player.CharacterAdded:Connect(RemoveMeshes)
end

Players.PlayerAdded:Connect(PlayerJoined)
1 Like

I just tested and bug 1 is still a problem. Any tool in the right hand is dropped if the HumanoidDescription switches out the right arm.

I can confirm this, if you do

player.Character.Humanoid:ApplyDescription(game.Players:GetHumanoidDescriptionFromUserId(math.random(1,100000000)))

the current tool will get removed

Bug 1 also happens with accessories equipped on the Hand with RightWristRigAttachment. The accessorie is not removed but the hand keeps falling on the map.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.