AvatarEditorService:SearchCatalog() Returning Incorrect Results Based on Number of Assets

Hello, there is an issue with AvatarEditorService:SearchCatalog(). When adding one AssetType in the AssetTypes parameter, the function returns a list of incorrect assets. It only returns the correct assets when AssetTypes contains more than one AsssetType. Furthermore, this issue only occurs in an actual game session, while it works as intended when running in Studio.

Below is an image of the console in an actual game session:

As you can see, when given AssetType ids 41 and 42, the function returns items of the corresponding AssetTypes, which is fine. Meanwhile, when given ONLY AssetType 41, the function returns a Head and an Emote item, both of which do NOT match the desired AssetType.

Expected behavior

If working correctly, it should appear as it does when running the same function in Studio.

Here is an image of the same function ran in Studio:
image

When given a single AssetType, it correctly returns a list of items with the same AssetType.

Thanks for the report! We’ll follow up when we have an update for you.

1 Like