AssetService's SearchAudio not returning correct asset information

There are two major issues I’ve noticed recently:

  • AudioSubType of AudioSearchParams does not seem to correctly adjust the returned data for SearchAudio. For example using an AudioSearchParams instance with Enum.AudioSubType.Music will result in the catalog returning sounds with the following ["AudioType"] = "SoundEffect". In addition Enum.AudioSubType.SoundEffect will return sounds with ["AudioType"] = "Unknown"
  • Titles are no longer provided for some audio results using SearchAudio via Enum.AudioSubType.SoundEffect.

This bug is causing some major issues on Clip It where we rely on this information to display to users sound effects they can use.

Visual Aids:


Example of where I use Enum.AudioSubType.SoundEffect on Clip It


Unusual output from using Enum.AudioSubType.SoundEffect.

System Information:
AMD Ryzen 9 5900X
64 GB
NVIDIA RTX 2070S

Beta Features:
Dragger QoL
Face Capture
Live Animation Creator
Material Generator
Notched Screen Support
Updated Roblox Controls
Upgrade Shorelines

Reproduction Place:
audio_search_reproduction.rbxl (52.5 KB)

Expected behavior

SearchAudio should return sounds of AudioType from the provided AudioSubType in the AudioSearchParams. In addition Titles should be provided as before.

8 Likes

Simple repro:

local s = Instance.new("AudioSearchParams")
s.SearchKeyword = "laugh"
s.AudioSubType = Enum.AudioSubType.SoundEffect -- Comment out this line to get titles
print(game.AssetService:SearchAudio(s):GetCurrentPage()[1].Title) -- Will be blank if the line is not commented, otherwise the name
2 Likes

BTW, it looks like the two requests that are being made when I look in the network tab, marketplace/301 and details?assetIds, are both correct. The marketplace/301 has name: null, and I don’t remember if that’s normal or not, though.

Yea its very unusual, we initially started receiving reports mid-day yesterday, and we haven’t changed anything involving this particular component in several weeks.

Hi all,

I’m looking into this. I’ll update the thread with my findings.

2 Likes

It turns out that this is a more complicated issue than initially expected. The underlying system used for this API also deals with all other search on the Creator Store. Due to this we have decided to wait until Monday so we don’t break search for all assets over the weekend trying to get this fixed.

In the meantime it seems that Description is still returned by the results. As a work around you could display that as the title.

5 Likes

In addition to above, it seems the results are flipped when you use subtype with SearchAudio

Enum.AudioSubType.SoundEffect returns Music
Enum.AudioSubType.Music returns Sound Effects

Hello again,

We have deployed a fix for this issue. Could you confirm if it is working?

3 Likes

Just tested, it seems to be working again! Tysm for the help.

3 Likes