While testing in the editor using Unity 5.0.0b12 on Mac.
I'm trying to implement an audio mute / toggle button to set a particular snapshot / state in Start() based on a playerPrefs. The default selected snapshot in the audio mixer is 'volume on'. refreshMixer is called as expected by the ValueChanged event.
With hack == 0, if I run the app once and mute the audio, then re-run the app the audio will not be muted because the TransitionTo call fails (or is ignored).
If hack == 2, it works as...
AudioMixerSnapshot.TransitionTo doesn't work if called from Monobehavior.Start
I'm trying to implement an audio mute / toggle button to set a particular snapshot / state in Start() based on a playerPrefs. The default selected snapshot in the audio mixer is 'volume on'. refreshMixer is called as expected by the ValueChanged event.
With hack == 0, if I run the app once and mute the audio, then re-run the app the audio will not be muted because the TransitionTo call fails (or is ignored).
If hack == 2, it works as...
AudioMixerSnapshot.TransitionTo doesn't work if called from Monobehavior.Start