There appears to be a bug with CurrentlyWearing and Gear Assets (AssetType 19)
If you equip a Gear, it correctly shows on the endpoints below, meaning its correctly equipped.
GET /v1/users/{userId}/currently-wearing
GET /v4/avatar/users/{userId}
However, the result returned by
POST https://apis.roblox.com/profile-platform-api/v1/profiles/get
will be different depending on the target user’s inventory visibility, and whether the viewer is authenticated (logged in/out)
If your inventory is set to public: authenticated viewers do not see equipped Gear in CurrentlyWearing. Logged out non-authenticated viewers CAN see it.
If your inventory is set to private: other authenticated users can see the Gear correctly in CurrentlyWearing
From testing, it appears from my end, the Gear is ALWAYS hidden, even after making my inventory private, despite other logged-in users now being able to view it. (This is without changing my avatar)
Players will NEVER be able to see equipped Gear inside of ‘Examine Avatar’ feature in any games, no matter what your inventory visibility is.
For example, with Red Balloon equipped and inventory public, the authenticated Profile Platform response omitted it:
{
"assets": [
{"assetId":1235488,"itemType":"Asset"},
{"assetId":16813315079,"itemType":"Asset"}
]
}
But, after changing only my inventory visibility to private, the same authenticated request from another account returned:
{
"assets": [
{"assetId":27477255,"itemType":"Asset"},
{"assetId":1235488,"itemType":"Asset"},
{"assetId":16813315079,"itemType":"Asset"}
]
}
So, the issue seems to be the CurrentlyWearing resolver/filtering.
To summarise… Public inventory hides Gear from “Currently Wearing” on profiles for logged in users. If you make your inventory private, then it shows for other logged-in user, while the actual profile owner will still not see it themselves. Examine Avatar will never show Gear inside games, a different post exists for that and inventory visibility doesn’t change that one.
Expected behavior
If a Gear is equipped and returned as being equipped by the avatar API endpoints, it should appear in ‘Currently Wearing’ regardless of inventory visibility or whether the user is logged in or out, additionally, Gear should show on ‘Examine Avatar’ inside of games, its fully hidden right now.
