How to apply a full character bundle, fetched from just a catalog ID, to HumanoidDescription?

I know I can filter out which body parts are fetched from the bundle info itself by their names (such as Arm, Leg, Torso), but some packages tend to have accessories, etc. It seems a bit of an overload to use HTTP constantly, leaving the servers on overload, but I can also use the :Insert() feature. However, with the insert, I still don’t know if the item being added is an actual part of the catalog asset or not (such as the default package’s head; obviously, its actual ID in the description is 0).

What is the best way to fetch the package’s ID from the catalog and apply it to the HumanoidDescription? Looking for the best possible solution. This topic isn’t well documented on ROBLOX sites.

Thanks!

(EDIT: Resolved)

For anyone that is in a need of code tho:

local bundleDetails = game:GetService("AssetService"):GetBundleDetailsAsync(201)
local bundleId = 0
for _,item in pairs(bundleDetails.Items) do
	if item.Type == "UserOutfit" then
		bundleId = item.Id
		break
	end
end
local descr = game.Players:GetHumanoidDescriptionFromOutfitId(bundleId)
repeat wait() until game.Workspace:FindFirstChild("OueIIet") --used to test
game.Workspace.OueIIet.Humanoid:ApplyDescription(descr)
6 Likes