Search Issue Tracker
By Design
Votes
4
Found in
5.4.3f1
Issue ID
856139
Regression
No
AudioMixer values get reset between Awake() and Start()
To reproduce:
1. Open user's attached project ("SoundManagerFix.zip")
2. Paste these lines into the Start() function:
float test = -1f;
mixer.GetFloat("masterVolume", out test);
Debug.Log(test);
3. Play the scene
Notice that it prints 0, even though masterVolume was set to -80 in the Awake() function
If the code is pasted to the Awake() function after the masterVolume is set, it can be seen that masterVolume is correct until the function ends.
This was tested with the variables masterVolume and interactionsVolume.
Reproduced on: 5.3.0f4, 5.4.3f1, 5.6.0b3
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
shubhamswaraj2021
Aug 22, 2020 10:46
good one <a href="https://www.lyricsauto.com">lyricsauto</a>