Many errors in build but not in unity editor

Hi there,
I’m getting many errors inside the (dev) build and audio doesn’t play at all. It works fine in the unity editor.
Here is a pastebin of the Player.log

image

Hi,

What version of the FMOD integration are you using?

What platform are you building for?

There are two main errors I can see:

  1. [FMOD] assert : assertion: 'mRiffChunk.mType == ChunkType_Riff && mRiffChunk.mID == id' failed
  2. [FMOD] Could not load bank 'D:/Unity Builds/DevBuilds/v0.001/proj_Data/StreamingAssets/Master.strings.bank' : ERR_FORMAT : Unsupported file or audio format.

There are different reasons these are being caused depending on the target platform.

In Unity could you please enable API Error Logging and set the Logging Level to Log:
image
and share the logs again?

Hi, before your reply, I managed to fix it. I deleted all the banks in the Streaming Assets folder in Unity and made another build in Unity, for some reason this fixed the problem and sound now plays. In case you still want to look at the fixed Player.log, here’s the pastebin.

I’m using v 2.02.22, building for Windows

1 Like

Thank you for sharing the solution