Some sounds interrupt others

Hi! I’m in charge of designing and implementing sound on a platformer. Unity implementation is taken care by a programmer of the team. We are having an issue when the character attacks or runs, which causes some ambient sounds to momentarily stop. Also, when running almost all sound goes silent, even the steps of running. I sort of checked the profiler and there seems not to be an overflow of voices. Also checked max instances in those sounds or their output chain and everything seems to be ok. I couldn’t find a post mentioning this in the forums so maybe someone has pointers to shed some light on the root of the problem?

Thanks

Hi,

What version of the FMOD integration are you using?

With the logging level set to Warning:
image
Are there any logs that you can share?

Hi! Sorry for the late response. Thanks for replying so quickly. I think the coders somehow fixed it but not sure what they did. Thanks again!

1 Like

Hi! Apparently the problem “came back”. I’m attaching the result of the log, which doesn’t seem to add much to the situation. Any pointers at what the problem could be or where to look for a possible solution? Thanks!

image

Hi,

Thank you for sharing the error messages.

It seems that the EventReference you are trying to crate is invalid, which means FMOD is unable to locate the target event to play.

For troubleshooting, here are a few possible causes that may lead to this error:

  • The FMODUnity.EventReference field has been exposed in your script but didn’t assign a proper event in the Inspector.

  • If the event has been deleted or renamed in FMOD Studio, the reference might now be broken. Could you please double-check if the event is still valid?

  • If the bank that contains the event hasn’t been loaded yet, FMOD won’t find the event either. Please ensure that the banks are correctly assigned in the FMOD settings. You could also consider using Studio.Bank.getLoadingState to check if the bank has been loaded correctly.

  • Additionally, it may help to try rebuilding your banks in FMOD Studio and then reimporting them into Unity, especially if the GUIDs have changed or the project structure has recently been modified.

If all settings appear to be correct and the issue persists, you could also try calling Studio.Bank.LoadSampleData or Studio.EventDescription.loadSampleData before playing a sound.

Hope this helps, let me know if the issue persists.

Hi! Thanks for the reply. I’ll pass this reply to the coder in charge of the Unity implementation. Apart from that, it’s not that clear to me why those warnings have something to do with the problem, as they seem to appear as soon as the game is run, while the problem occurs when attacking or running, which makes all sounds go mute until the attack sound is finished or the running is interrupted. I’m asking this to have a better understanding of the topic and the replies so that I can inform the team better. Thanks!

1 Like