Frequent sound loading errors

Our game, Combat Arena, has been experiencing frequent issues with sounds not loading for some time now. We are using the new audio API (AudioPlayers/Emitters/etc) to drive the grand majority of our sounds. I would like to note that this is not the only experience I’ve seen the issues in, but it is one of the most prominent that I have access to.

We are selective about using AudioPlayer.AutoLoad and try to be conservative in general about how many sounds are loaded. That said, there are a lot of sounds that need to be loaded and played frequently in the game, primarily gunshots. When a gunshot sound fails to load, it’s extremely noticeable and creates a jarring experience for the player. If a sound doesn’t load, it doesn’t seem to ever retry, it just stays unloaded forever.

Our error logs show a variety of causes for these sound loading failures (shown below). While it’s inevitable to have some degree of issues with this, I think it’s currently larger than it should be.

Expected behavior

Some issues will continue to occur, but there is a process for retrying the load and eventually these failures are recoverable.

3 Likes

Should accept my request trust!

Hello There! I hope you’re doing well.
Thank you for taking the time to submit this issue and for reading our message.

To help us move forward, we’d appreciate your support with a few questions:

  • Is this issue still occurring on your device?

  • If so, could you please send us the log file?

Don’t worry — we’ve got you covered!
You can find step-by-step instructions on how to generate and send the log How to post a Bug Report - Bug Reports - Developer Forum | Roblox

Following these steps will help us better understand the issue and work on a solution more efficiently.

Thank you again for your cooperation!

The issue happens very intermittently for me personally, and it is therefore quite time-consuming to reproduce on my own devices. I don’t think I’ll be able to provide the log file you’re looking for unless I get lucky while playtesting in the near future. I normally just get reports from players of it happening.

Hi @ChiefWildin ,

Thank you for the report.

Is there any chance that you could ask the players who report this problem to you to send you logs or post the logs here? That will help us enormously in tracking down the problem.

Sincerely,
@Doctor_Sonar

Noting that I also hit these kinds of issues with my experience. The logs are dominated by

Failed to load sound: User is not authorized to access Asset.

or

Failed to load sound: Failed to parse batch json response

or

Failed to load animation with sanitized ID. Animation failed to load

or

Failed to load sound: Timedout

or

Failed to load sound: unsupported file format

or

Failed to load sound: DnsResolve

or

Failed to load sound: HTTP 429

or

Failed to load sound: NetFail

or

Failed to load sound: Unable to start loading sound in to fmod

or

Failed to load sound: ConnectFail

or

Failed to load sound: Unable to download sound data

I don’t notice any patterns in the asset ids that fail. I think it’s more likely a reliability issue on the engine side rather than logical issue with my experience. I also frequently check to make sure the assets that show up in the logs grant access to my experience, but it does not help b/c access has already been granted.

Sounds heavily outweigh other assets (animations, textures/surface appearances, etc) in terms of the number of error messages generated.

1 Like

Thanks @0xDevilman .
Most of those errors look like network issues, but of course it could also be problems with the networking code.