Forum rules - please read before posting.

Audio sliders not working with Mixer Group - sound settings/options menu

edited February 2021 in Technical Q&A

AC 1.72.4 - Unity 2019.4.4f1

Hey, I'm having trouble with my audio sliders in my options menu.

I've followed this tutorial to setup the AC sound to run through a mixer: https://adventurecreator.org/tutorials/working-audio-mixers

All is working as intended there, I use various mixer snapshots called via AC to add effects to sound effects at different parts of the game. These are working as intended.

The problem comes with the volume sliders for music, sfx and speech in the options menu. They don't seem to be doing anything. I'm using Unity UI and have linked the sliders up in the Menu manager.

Is there anything specific I need to do for the Unity UI slider element? I've tried setting the max value to 20 and minimum -80 to match the limits of the mixer slider but that didn't help.

I've attached some screenshots of my settings here:

https://imgur.com/a/In1Jber

The options menu is set to pause game when enabled, changes however don't seem to take effect even after closing the menu and returning to normal gameplay. Setting the menu to not pause gameplay doesn't help either.

Thanks!

Comments

  • Have you exposed the attenuation parameters in your Mixer window, and named them to match the fields in the Settings Manager?

    Are the slider values being saved? If you exit/re-open the menu, do they retain the values you previously set?

  • Hey Chris, yep the three parameters are exposed and slider values are being saved when exiting/reopening the menus.

    Could it have something to do with the snapshots overriding those exposed parameters?

    https://imgur.com/5BqmpT5

  • It may do. Bear in mind that you can always have your Music/SFX/Speech mixers be children of another set of mixers (that themselves are direct children of Master), that you can use to apply custom FX to.

  • Hey, just to follow up on this in case anyone searches this topic and made the same mistake. (I am not proud of this mistake...)

    I had missed the capital letters when inputting my parameter names in the Audio settings boxes. MusicVolume was musicVolme, SfxVolume was sfxVolume etc.

    So yeah, that'll do it.

  • We've all done it :)

  • I did exactly the same mistake! This post was extremely useful.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.