Fmod Error

0 views
Skip to first unread message

Kizzy Burnworth

unread,
Aug 4, 2024, 1:29:55 PM8/4/24
to skinopemnec
Idont know why but when i try to get the event by GUID or event id i get error 74. The documentation said something about the strings bank had to be loaded as well as the bank but i do not find any way to load the strings bank with the bank. I dont even know if that is the problem. Any idea what might be wrong?

I think that would be connected to the problem. Would it be possible for you to upload a stripped down reproduction to your FMOD Profile? Just a project with all the assets removed except the Plugins/FMOD directory and some built banks should be sufficient to reproduce this.


I managed to strip out the whole project and leave only the necessary elements to test it out. After removing lots of stuff the problem with error in the FmodStudioSettings is gone, but the original errors with PreprocessStaticPlugins and PostprocessBuild still occur.


This issue appears to be due to the Library folder being refreshed during a Unity Cloud build. I can reproduce this error by deleting the Library directory and immediately attempting to build. Recompiling gets it back into a good state, but this is not possible during a Unity Cloud build, so I have passed this onto the Dev team to investigate further.

EDIT: As a possible workaround, I have found that forcing a recompile using EditorUserBuildSettings.SwitchActiveBuildTargetAsync allows it to build succesfully after the Library directory is deleted. Here is an example script:


I have tried updating to Unity 2022.2.1f1, but i still get the error.

Funny thing, when I went back to 2021.3.16f1, I stopped having that issue and everything seems fine. Is there something different in 2022 that I need to account for when using Audio in WebGL? We are currently just using mp3 files.


I tried to use the FMOD plugin to try to bypass the issue but I had no luck. It is too convoluted. I could not figure out how to use it without changing the audio listeners and the audio sources, and worst installing their Studio.


After having fixed a number of events that lost its files this window pops up when trying to build. I tried by root-cause-analysis to delete the events and build and continued that process until Fmod was able to build. And it turned out that it was all the events that some if I deleted about 70 percent of all events I could build. Is there any way this can be fixed ? Any help would be appreciated ! Screenshot_81901991 32 KB


The red arrow points to the event that causes the project not to build.

But I cant see any information in the Log that relates this event to the error.

How come the Log doesnt tell that this particular event causes the error ?


Looking at your logs, I see a lot of Lookup failed for ParameterLayoutModel messages. These usually indicate that a parameter sheet is missing or could not be found. This might be due to a merging error, due to a file not being found, or due to file corruption. Did you try removing your project from source control and Dropbox, as I suggested in my previous post?


Hi again Joseph.

First of all I should remember saying that we already found out what the problem was in the project. Its an instrument that is missing its reference and yes - the instrument is empty (ref the red arrow). So when I remove that instrument Then I can build again.


Usually, when an audio file goes missing, it does not cause a project to fail to build; instead, it results in the instruments that reference that file not producing audio, and the project otherwise functioning as it should. Also, the instrument in your screenshot is missing a label as well as its content, something that should be impossible to achieve through the UI. These two details make me suspect that the file containing that instrument was somehow corrupted.


Unfortunately, there is no easy way to identify how that occurred. It may have been corrupted by a bad merge, an incomplete script, the Studio process being terminated unexpectedly, or by a drive error. There may be some clue in your project itself, but again, without access to your project, our ability to investigate is limited.


I am having an issue with audio clips not being loaded. With our game running, a mini-game can be accessed via an in-game menu. The scene for that mini-game is loaded from an asset bundle. The first time the mini-game is played, all sounds load and...


If I build an AssetBundle with a referenced AudioClip being placed in the /StreamingAssets/ folder will this cause the error this thread talks about? The relevant AssetBundle is not unloaded or unreferenced while we are waiting for streaming to complete.


Something seems to not be fully OK with FMOD in the Zibo mod because my X-Plane log.txt is literally flooding with error messages similar to the one below. Considering the amount of them in the log file, I'm thinking it might even affect performance in a bad way when X-Plane has to write several of these every second ?


Anyone knows if it's enough to get rid of the main Zibo folder under Aircraft or if you should also get rid of the files related to the Zibo mod in the main XP11 folder? And if there are more files/folders as well I'm not aware of?


When I just checked my log.txt file, it was over 22 MB in size?! thanks to all these thousands of error messages related to FMOD. As said in my initial post, I'm afraid even the performance in X-Plane might be negatively impacted by this.


Really odd one which has been with me and some other guys for a very long time now spanning over a multitude of Zibo mod and FMOD versions. And even more odd when you get this issue even with a 100% fresh installation.


I may be leading you in the wrong direction here but I had something similar when X-Plane wouldn't 'initialise' the sound. I sorted it by downloading Realtek drivers for the MB from the MSI website. At the time I wasn't getting any sound at all and haven't been the only one and I think a Windows Update may have caused the problems at some point but installing these drivers sorted that issue for me.


Yeah, my flight just crashed and the log is over 40 mbs mostly just that error on flood repeat. First time experiencing this. Is this something that will just happen at random or should I now expect it every flight?


Yeah, mine just up and crashed and the log is *only* 47 MB. As I've seen with other people, it can get even larger and this is the first time I've ever seen this Error flood. Well, I'll try the flight again tomorrow, fingers crossed, I don't blow another 3 hour flight.


Can't know for sure what caused the crash since log.txt simply states the application crashed. But it doesn't feel good having all these error messages in the log file on a constant basis. I had Notepad++ count them for me today...searching for FMOD Error 29 in the log file resulted in 151.836 hits...after one X-Plane 11 session...


Attached is the log file from my last X-Plane session which crashed right in time for starting my descent...and edited to add that @audiobirdxp, the developer of FMOD, actually did respond in another thread about the same issue over here. Unfortunately though, he said he doesn't know more than we do where this error message comes from or why. He said it could be LR changed something he's not aware of affecting sounds.


Does this error still occur for you ? If not how did you resolve the issue ? If yes, does it occur when you launch XPlane in VR but also when you launch it in 2D ? I ask because I get my log.txt flooded with openAL errors when I use the TBM 900 model. The flood is as massive as yours and can go well beyond 200Mb and generate an out of Memory error. What I noticed in my case is that when I launch the model in 2D, there is no error, neither when I start in 2D and then go to VR. The error only happens when I launch the model directly in VR. Is that also your case ? I suspect it may be and if it is such, could you please file a bug as I did (do it with a complete log.txt, when you get the error but then only run X Plane very briefly, otherwise you be able to upload the file...) ? Thx !


Thanks for your feedback. I've tested Zibo's B738-800X and had no issues with its sounds in the log. However I've solved my issue with the TBM900. Perhaps something similar could help for your FMOD issues ? Alas I haven't identified exactly which of my next two steps removed the error. Normaly I do one step at a time but this time I was a bit tired and forgot to check after every step. What I did for the TBM900 was to delete the openAL32.dll in X Plane's "X-Plane 11\Resources\dlls\64" folder. Then I installed openAL directly from the openAL site. Then I run xplane's installer again to download their latest dll. That was all. I have to add that I thought everything worked well with TBM's sounds but after correcting this, I must say I was wrong. The experience is now much better !


For FMOD you could do similar steps but if you want to install FMOD from their site you'll have to subscribe (for free). But you could already re-download the fmod64.dll file (delete it, then run the installer) from Laminar. I really hope this works !

3a8082e126
Reply all
Reply to author
Forward
0 new messages