How to investigate FMOD Error (File not found)

Hello everyone!

Following situation: Recently we released a game to a couple thousand people and we’re collecting exceptions in our internal error reporting system. This is simply done by calling

void Start() {
    Applicaiton.logMessageReceived += LogCallback;
}

private void LogCallback(string condition, string stackTrace, LogType type) {
    // upload condition and stackTrace to our server
    // ...
}

Now, we’re getting a lot of error reports where the condition is

Error: Cannot create FMOD::Sound instance for resource resources.resource, (File not found. )

The stackTrace is empty.

I’m wondering how to start investigating this issue… I have not seen this error on my machine, but it happens for our players. If I had a stack trace I could start narrowing things down, but that’s missing for some reason.

If anyone could provide any more insight into the error message, why it could be happening or how to find out what could be causing it, I’d appreciate it a lot. Thanks!

1 Like

Sorry to reopen a 4yo thread…
Have you found a solution?

Hi @JonesyLeo !

Are you experiencing something similar? The issue above might have been related to asset management or serialization, which evolved a lot over the last years. If so, please share anything to you can, such as log, videos, preferred car freshener scent, etc…

Cheers!

Same issue. Unity 2022.3.9f1, WebGL.

Loading the AssetBundle in Unity for debugging, here is the result:

  1. The whole asset bundle prefab shows well, with every script on it.

  2. The audio clips are also there.

  3. However double-clicking on the audio clip shows flat audio:

  4. Then the console started to log the usual error log:

Ah, it seems this setting did the trick.
Now the sounds are properly loaded from AssetBundle even when the asset is unloaded after Instantation…

3 Likes