Unity Issue Tracker - Using AudioSource.clip to change from Audio Random Container when Play On Awake is enabled some audio source APIs broken
Fixed
UUM-71884
Using AudioSource.clip to change from Audio Random Container when Play On Awake is enabled some audio source APIs broken
Unity: Audio Random Container
Fixed
6.0.X
Won't Fix
6.1.X
Fixed before version branch off
Fixed an issue where alternating between the AudioSource.clip and AudioSource.resource setters would cause the AudioSource.volume setter to have no effect.
Steps to reproduce:
Download and open the attached project "Audio Resource Swap Issue.zip".
Open the SampleScene.
Enter play mode.
Press the "Change Resource To Clip" button.
Press the "Play Audio" button.
Press the "Set Volume To Zero" button.
Actual results: You can still hear audio as if the volume remains the same.
Expected results: You can't hear any audio.
Reproducible with versions:
6000.0.3f1
Can’t test with versions:
2022.3.X
2021.3.X
Tested on (OS): MacOS (M1) 14.4.1
Prioritise and Follow this issue
Have a workaround or additional info about this issue?