FSBTool Error in 2022.3.17

Updated my project from 2022.3.12 to 2022.3.17. When reimporting all of my game’s music, about 6 out of 30 mp3 files failed to import. The error message was “FSBTool ERROR: Internal error from FMOD sub-system.”

I note in the release notes for 2022.3.17 that FSBTool was updated and I can see a new executable compared to 2022.3.12. When I manually place the old FSBTool from .12 back in place, I can reimport the mp3’s without issue. So it seems something broke that some mp3s/files expose? I’ve logged a bug report with a mp3 file that reproduces the problem.

Reporting here in case others see a similar problem after updating to the latest 2022.3 (or perhaps future versions). To workaround, I either have to go back to an older fsbtool from a previous editor version, or re-encode the bothersome music. If I load up a bothersome mp3 into audacity and export it (with different settings), that can also bypass the problem. I’ve only tested importing mp3s. I’ve not tested large wav files for music.

I am currently starting to investigate this. The recent patch for FSBTool was specifically aimed at fixing a WebGL issue. What platform are you targeting when seeing this?

It’s best to assume Unity can’t handle mp3s from here on out. It can’t really read them, and if you encode to mp3, the editors and build insta-crash.

I target windows desktop (il2cpp). I included an mp3 that reproduces the issue (at least on my machine) inside a windows unity project in the issue I submitted. Note the issue I submitted was closed, since it seems there was already an issue dating to Dec 22, 2023 (UUM-59571) that is tracking this issue.

We got a good graph of the problem, I was able to repro and I think the problem is just matching FMOD/FSBTool binaries correctly. It appears the wrong files got in the package. Your solution of brining in the earlier FSB binary is a good workaround, but I wouldn’t bet to much on its stability.
We’ll be addressing this as soon as we can.

1 Like

Maybe same error.
when I use DownloadHandlerAudioClip to load a mp3 file, I get this error.
Error: Cannot create FMOD::Sound instance for clip “” (FMOD error: Error loading file. )

I just update unity from 2022.3.14 to 2022.3.17

Can you create a bug report for this? It would be a different problem from what we’ve identified. Initially we think it’s a mismatch between the out-of-process importer (FSBTool) and the FMOD engine, but what you suggest is different and would point to a codec bug. I had to work on some MP3 issues these previous months, it might have introduced a regression in LTS versions or the backport might have gone sour.

Thanks!

Looks like the same error, I got the same error by putting this mp3 file into the project.

I got a fix for it, it’s currently pending in the QA queue. Once it’s approved it should go directly to 2021 and 2022 releases. It was due to a part of an earlier MPEG codec improvement lost in the backport.

1 Like

2021.3.35f1 got released, the fix isn’t in, I guess we need another month or two with broken mp3s.

With Apple Privacy Manifest needed to be fixed April I hope they will at least get this in before that.

Extending on the reply of Personuo, I am getting the same error on 2022.3.19f1. I started getting this when I updated the unity version from 2021.3.15f1 to 2022.3.19f1 LTS. It was working fine in 2021.3.15f1.

I am getting this error when downloading mp3 using UnityWebRequestMultimedia.GetAudioClip and then using DownloadHandlerAudioClip.GetContent to get audio mp3 file and assign it to the AudioSource.clip.

I can’t go back to 2021.3.15f1. I need it fixed in 2022.

You need to wait until 2022.3.21. Give it another month.

Thank you for pointing it out! It should also be available in the earlier LTS from 2021.3.36f1.

I can confirm that the bug was fixed in 2021.3.36f1 release.

@SeventhString : is it possible to get your fix into our 2022.3.16 based project? We are an industry customer.

I am certain that we cannot port back to your specific version this fix, but there would be a workaround. You could get your hands on the latest version of the FSBTool64.exe binary (from a recent update of your LTS version) which should carry the fix and overwrite the one in your current installation.

That’s a manual operation that would need to be done on every station using Unity. That’s not the prettiest fix, but it should work.

Otherwise, I recommend you reach out to your designated Unity contact for industry support and file that request through that channel.

This issue is still not fixed for me.

Error:

Error: Cannot create FMOD::Sound instance for clip “” (FMOD error: Error loading file. )
UnityEngine.Networking.DownloadHandlerAudioClip:GetContent (UnityEngine.Networking.UnityWebRequest)

I have tested on the following versions: 2021.3.36f1 LTS, 2021.3.40f1 LTS, 2022.3.37f1 LTS.
None of these have the issue solved for me. This is also frustrating because 2021.3.16f1 is the only version where this works and this version has issues with target api level 34 (android 14). Google is now demanding for an update of the app to the said level. I somehow have to make a build in 2021.3.16f1 using api level 34 which is equally frustrating.