Reproduction Steps
I have found this problem whilst searching for Classic Clothing. Incorrect asset types are returned when you search for specific texts.
Repro:
local SearchParams = CatalogSearchParams.new()
SearchParams.SearchKeyword = 'Dress' --[[You can also try "Sweater", "Shorts", "Shoe" and probably more keywords]]
SearchParams.AssetTypes = {Enum.AvatarAssetType.Shirt,Enum.AvatarAssetType.Pants,Enum.AvatarAssetType.TShirt}
local CatalogPages = game:GetService('AvatarEditorService'):SearchCatalog(SearchParams)
for i,v in pairs(CatalogPages:GetCurrentPage()) do
print(v.AssetType or (v.BundleType .. 'Bundle'))
end
AvatarEditorService must be enabled in the place/file you are testing in for this to work.
Expected Behavior
The CatalogPages should return results for items which match the AssetTypes provided into the CatalogSearchParams (in this case, only Shirt, TShirt and Pants)
Actual Behavior
When the CatalogSearchParam’s SearchKeyword is left to its default value, these are the asset types returned (as expected):

But when the SearchKeyword is set to some specific values (e.g. “Dress”, “Shorts”, “Shoe” or “Sweater”), the results are a mixture of other asset types, which were not specified in the CatalogSearchParams.AssetTypes property:

Workaround
Setting CatalogSearchParams.MaxPrice to 10 will prevent this happening, but isn’t ideal as items over 10 Robux are no longer searchable.
Issue Area: Engine
Issue Type: Other
Impact: Moderate
Frequency: Constantly

