I have a problem with FMODUnity.RuntimeManager.MuteAllEvents().
I want to mute all sounds on Master Bus “bus:/” and it should work straight away I think. There are no errors in Unity console, no warnings etc.
FMODUnity.RuntimeManager.PlayOneShot() works perfectly. Controlling custom parameters from Unity works great.
Are there any special things to consider while using MuteAllEvents()?
I’ve searched on various sites for solution but found nothing
Thanks for any help!
FMOD Studio 1.09.02
I also tried this based on https://www.fmod.org/questions/question/how-do-you-script-volume-control-for-music-and-sfx-buses/:
string masterBusString = “bus:/”;
masterBus = FMODUnity.RuntimeManager.GetBus(masterBusString);
masterBus.setVolume(float); - works great
masterBus.setPause(bool); - works great
masterBus.setMute(bool); - doesn’t work at all…
So workaround for now is to use masterBus.setVolume(0.0f)/masterBus.setVolume(1.0f) to simulate mute/unmute or just masterBus.setPause(true/false).
The question remains - why setMute() does not work?