Humanoid::ApplyDescription() DataModel was not availableの対処法[Roblox Studio]

現象

player.CharacterAdded:Connect()でHumanoid:ApplyDescription()を利用すると起こる。

Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(character)
		-- 

	end)
end)

エラー

Humanoid::ApplyDescription() DataModel was not available

解決策

以下のコードをHumanoid:ApplyDescription()を使用する前に挿入する

if not character:IsDescendantOf(workspace) then
	character.AncestryChanged:Wait()
end

コメントを残す

メールアドレスが公開されることはありません。