Humanoid::ApplyDescription() Some requested assets were not available

  1. What do you want to achieve?
    I want to make a podium stand for the top three players on the global leaderboard of my game.

  2. What is the issue?
    I get a warning Humanoid::ApplyDescription() Some requested assets were not available. I found out whilst testing that all the body parts of the character is spread out, as if I deleted the humanoid, but it’s still there.
    image

  3. What solutions have you tried so far?
    I’ve tried googling it but there was no help, the closest I got to someone having the same problem as me just wanted to stop the error from showing up in output, not from resolving it; I’ve also searched up free models and tutorials on the leaderboards, but they do the same exact thing as me, and for some reason mine doesn’t work. I’ve also looked up another post, but it’s about bundles even though my character has no bundles attached/there are no head issues.

local podium = leaderboard:FindFirstChild("Podium"..rank)
            local description = Players:GetHumanoidDescriptionFromUserId(userId)
            
            if podium then
                
                local statue = podium:FindFirstChild("Statue")
                local humanoid = statue:FindFirstChild("Humanoid")
                
                local success, errormsg = pcall(function()
                    humanoid:ApplyDescription(description)
                end)
                
            end
1 Like

Have you tried to print the error messege?

The pcall is successful, so there is none.

Have you tried using Humanoid:ApplyDescriptionReset()
https://create.roblox.com/docs/reference/engine/classes/Humanoid#ApplyDescriptionReset

Where, before the pcall? It just stops working.

I’m trying to recreate it but can’t seem to
Could you send the entire script?

It’s a module and its 600+ lines of code, but this is the function itself

local function refreshLeaderboard(stat, playerHolder, leaderboard)
	
	local orderedDataStore = DataStoreService:GetOrderedDataStore(stat.."324365")
	
	for i, player in pairs(Players:GetPlayers()) do
		local leaderstats = player:FindFirstChild("leaderstats")
		
		local key = player.UserId.." - "..stat
		if player.UserId < 1 then
			key = 435102876
		end
		
		if stat == "Rank" then
			local playerStats = leaderstats:FindFirstChild(stat)
			local convertedRank = convertRankToID[playerStats.Value]
			
			orderedDataStore:SetAsync(key.." - "..stat, convertedRank)
		else
			local playerStats = leaderstats:FindFirstChild(stat)
			orderedDataStore:SetAsync(key.." - "..stat, playerStats.Value)
		end
	end
	
	local success, errorMsg = pcall(function()
		
		local data = orderedDataStore:GetSortedAsync(false, 100)
		local page = data:GetCurrentPage()
		
		for rank, savedData in ipairs(page) do
			
			local userId = tonumber(string.match(savedData.key, "^%d+"))
			local name = Players:GetNameFromUserIdAsync(userId)
			local value = savedData.value
			
			local podium = leaderboard:FindFirstChild("Podium"..rank)
			local description = Players:GetHumanoidDescriptionFromUserId(userId)
			
			if podium then
				
				local statue = podium:FindFirstChild("Statue")
				local humanoid = statue:FindFirstChild("Humanoid")
				
				humanoid:ApplyDescriptionReset()
				local success, errormsg = pcall(function()
					humanoid:ApplyDescription(description)
				end)
				
			end
			
			if stat == "Rank" then
				if value == 1 then
					value = "No Rank"
				else
					value = prestigeReqRank[value-1]
				end
			end
			
			if stat == "Animes" or stat == "Cash" then
				
				if value < 1000 then
					value = Format(value, 0)
				elseif countDigits(value) % 3 == 2 then
					value = Format(value, 1)
				elseif countDigits(value) % 3 == 0 then
					value = Format(value, 0)
				else
					value = Format(value, 2)
				end
				
			end

			if value then
				
				local playerFrame = playerHolder.PlayerFrame:Clone()

				playerFrame.Name = name
				playerFrame.Parent = playerHolder
				playerFrame.Visible = true

				playerFrame.Rank.Text = "#"..rank
				playerFrame.PlayerName.Text = name
				playerFrame.PlayerRank.Text = value

			end

		end
		
	end)
	
end

Maybe try getting the humanoid description on a server script?

The module is working on server-sided though.

I’m not really sure then, because I tested it out on a module script and it worked fine

Did you do:

local statue = podium:FindFirstChild("Statue")
				local humanoid = statue:FindFirstChild("Humanoid")
				
				humanoid:ApplyDescriptionReset()
				local success, errormsg = pcall(function()
					humanoid:ApplyDescription(description)
				end)

also, did you just use a regular dummy with a humanoid?

I just used a r15 block R15 Mesh dummy
here’s the code

local module = {}

function module.boo(player)
	print(player.UserId)
	local s = game.Players:GetHumanoidDescriptionFromUserId(player.UserId)
	local success, errormsg = pcall(function()
		game.Workspace.Dummy.Humanoid:ApplyDescription(s)
	end)
end

return module

Server sided

game.Players.PlayerAdded:Connect(function(player)
	local ss = require(script.ModuleScript)
	ss.boo(player)
end)

Hmm. I used Block rig. Is that what might cause the issue?

It might be causing it :man_shrugging: I think its more likely to be a player character bug

Wait, I’ve found the issue. So my friend made this and I didn’t know, but the dummy was rescaled so that it’s bigger, is there a way to have the humDesc work on rescale?

Uh i think humanoid:ApplyDescriptionReset() works
It resets the dummy and applys the Description

Wdym. I tried it with the non scaled one and it worked, but how do I make it work for scale? The humanoid:ApplyDescriptionReset() just stops the script, not sure why.

Werid, cause when I used humanoid:ApplyDescriptionReset() it made the dummy the exact size of me. The dummy was like 50% larger then me

Can you show me your script with humanoid:ApplyDescriptionReset() applied?

local module = {}

function module.boo(player)
	print(player.UserId)
	local s = game.Players:GetHumanoidDescriptionFromUserId(player.UserId)
	local success, errormsg = pcall(function()
		game.Workspace.Dummy.Humanoid:ApplyDescriptionReset(s)
	end)
end

return module