AvatarEditorService:GetInventory() provides results in an order that makes very little sense, it feels like it’s attempting to display results in order of recency, however it ends up kind of doing that, but placing things like animations and body parts higher then they should be.
In this example, im using all AvatarAssetTypes (via Enum.AvatarAssetType:GetEnumItems()). I have attempted experimenting with the order of enums in the array, however this has no noticeable effect.
Expected behavior
I either expect it to return results in the logical order (and what it seems like its trying to do) which is descending from the most recently obtained items, or for developers to have more control over the order of results being returned.
1 Like
Hello, thank you for reporting this, we are investigating the inventory ordering, and we need more information -
How exactly the items that show up in the unexpected order had been acquired? Were they put in a shopping cart and purchased at once, or purchased separately? Do items come from a character bundle, individual purchases, or both? In the API output do you see different acquisition times, or the time is the same?
If possible, please provide arguments of the GetInventory API for our investigation.
How exactly the items that show up in the unexpected order had been acquired? Were they put in a shopping cart and purchased at once, or purchased separately? Do items come from a character bundle, individual purchases, or both? In the API output do you see different acquisition times, or the time is the same?
You should be able to just test with the GetInventory API.
It primarily seems to prioritise some asset types like animations and body parts, everything was purchase separately, ive never used the shopping cart and the order is drastically incorrect.
If possible, please provide arguments of the GetInventory API for our investigation.
I did mention this in the post