Search Issue Tracker

Fixed

Fixed in 2021.3.35f1, 2022.3.19f1, 2023.2.7f1, 2023.3.0a15

Votes

1

Found in

2021.3.3f1

2022.1.0b7

2022.2.0a13

2023.2.0a1

2023.3.0a3

Issue ID

UUM-368

Regression

No

Audio plays for a split second when Mixer's volume is set to 0 beforehand

--

-

Reproduction steps:
1. Open attached project and "StartMenu" scene
2. Enter Play Mode
3. In Game View, if there is music playing, press the Settings icon in the top-right corner and set the music slider to 0.
4. Exit Play Mode and Enter it again.
5. Listen for an audio pop

Expected result: There is no audio pop
Actual result: There is an audio pop

Reproducible with: 2021.2.12f1, 2022.1.0b7
Could not test with: 2019.4.36f1, 2020.3.29f1 (downgrading breaks project), 2022.2.0a5 (missing NetCode namespaces break project)

Note:
​​​​​​​In SettingsManager.cs, lines 58-65, you can see our mixer's volume being set to a value from PlayerPrefs. However, if you set the Volume to 0 and exit/enter Play Mode again, it's still played for a split second, despite the .Play() method being executed later in the code.

  1. Resolution Note (fix version 2023.3.0a15):

    Fixed in 2023.3.0a15

  2. Resolution Note (fix version 2023.2.7f1):

    Fixed AudioMixer clicks when abruptly changing volume in Start()

  3. Resolution Note (fix version 2022.3.19f1):

    Fixed AudioMixer clicks when abruptly changing volume in Start()

  4. Resolution Note (fix version 2021.3.35f1):

    Fixed AudioMixer clicks when abruptly changing volume in Start()

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.