AudioMixer works in editor but doesn't work in Android Device

I Simply have two sliders for set Music and SFX audio volumes in my settings , and here is my code:

public void SetMusic(float volume)
{
    audioMixer.SetFloat("Music", volume);
}
public void SetSFX(float volume)
{
    audioMixer.SetFloat("SFX", volume);
}

And exposed two Music and SFX parameters from volumes of My two Audio Mixer groups , when I use it in editor it works perfectly and everything works fine but when I Built in use in it Android device it doesn’t works and changing sliders won’t effect the sounds , should I change anything for working audio mixer on Android Device? let me know if you want any information!

No hint on this?

–

Could you solve it?

–

2 Answers

2

i get this problem , can anyone help me?!?

@armanajdani I have the same problem i exposed my tracks to be use by scripts by giving the a string name ran the code in editor it work fine but when I went to build to my android device the slider barely turns down the volume and in the editor it works fine I turn the volume down on my phone to min-1 and my max to 5 and im using whole numbers? In the editor run on my phone and get the same problem is this an internal unity bug