AudioMixer Snapshot TransitionTo does not working

Unity 2019.4.32 and 2020.3.23

Audio Mixer snapshot transition does not work in the editor and on Android devices. In the editor, you can see that the snapshot is toggled, but its parameters are not applied. In edit mode, if you switch snapshots, everything works.

I know that discussion old, but I need answer for future peoples.

If you use AudioMixer.SetFloat:
“When a parameter is exposed, it is not controlled by mixer snapshots. You can only change the parameter with this function.”

How to make all works like I wish - I dunno

Hello my friend, i had the same problem at 2022.3.7 version and i could fixed it like this:

Old code

AudioMixerSnapshot snapshot;
......
snapshot.TransitionTo(time)

New code

AudioMixer _audioMixer;
.....
_audioMixer.TransitionToSnapshots(new[] { snapshot }, new float[] { 1 }, time);

I hope worth for you and anybody :wink:

Did you use AudioMixer.SetFloat? Its main problem, because I want to allow players change volume & still want use snapshots. I checked code - not work (2021.3.15f1)

The topic is still relevant!

Hi, AlexanderL1. If you have consistent reproduction steps for this issue, report it to us (“Help → Report a Bug…” in the Editor). Make sure to attach a reproduction project, too. Thanks!

Hello, this is the engine flaw (not a bug) because it provokes a user to use a nesting workaround Audio Mixer Snapshot Issue

This thread should be in feedback because I wish that had changed.

I see! Thanks for clarifying. Changed the tag to Feedback and sent this to the developers. Cheers!

1 Like

Thanks a lot, I appreciate it! Cheers!