I been doing an external outfit saver. but i stumbled on a roblox bug if you can call it like that.
Every avatar i save or just wear it from roblox original HumanoidDescription it would still result in some of the accessories disappearing.
I’ve done some testing and figured out that its limited to 3 Head accessories, and one of each type accessory. Does anyone knows how to fix it?
When you apply a HumanoidDescription
with more than the allowed number, there might be some, let’s say items that are “in excess” and they will be silently dropped, in order to work around this, you can simply just filter the accessories before applying them, ensuring you only include the allowed number per category ( you can group them by AccessoryType
and only keep the first few, or let users manually choose which ones to keep if they exceed the limits )
i mean why would roblox even do that if the allowed limit is 10 but user can only save about 6 or 7, and im just saving directly from the roblox outfits so im not adding or editing anything which is weird
When dealing with HumanoidDescription make sure to pause a bit after reading, writing and after getting the character. There is a bit of a gap there you’ll need to account for. Mostly after getting the character. As it needs a small pause to read itself, grab the gear and add it to the character.
huh? what do you mean?
i would know if the issue with the saving/loading but it also replicates to the original outfit.
i literally went into playtest, copied the HumanoidDescription, applied it to the roblox. and what, the issue is still there, some of my accessories are just gone
You have no scripts here to look at… I just know this is a bit slow to react from working with it myself.
Also you can’t just put anything on a player. You need to own it or it needs to be free. Anything you wish to save to that player anyways…
okay so, ive been using my own outfit for testing, it shouldnt remove anything but it did
This is just guessing… We need to see scripts. I had problems with this too.
i tried
game:GetService("AvatarEditorService"):PromptSaveAvatar(game.Selection:Get()[1],"R15")
While selecting the HumanoidDescription (from the player’s humanoid) resulted in the same thing with the last outfits
Hmm, I’ve never saved gear to a player like this. I’m not even sure if this is possible…
Let me look around a bit here…
Looks like this only works for the local player in the Studio’s command bar.
game.Selection doesn’t exist; it’s only available in Studio.
yeah it was a test code. basically this is how my entire script works but without the game.Selection for obvious reasons
Im guessing this is a roblox engine bug.