Unity Issue Tracker - Scene view audio toggle doesn't work after disabling and enabling audio source component with audio random container
Fixed
UUM-73253
Scene view audio toggle doesn't work after disabling and enabling audio source component with audio random container
Unity: Audio Random Container
Fixed
6.0.X
6000.0.0b13 onwards
Won't Fix
6.1.X
Fixed before version branch off
Fixed an issue where no audio would be played using the scene view audio toggle after disabling and enabling audio source component with audio random container.
Steps to reproduce:
Create and open an empty project.
Import an audio clip.
Create an audio random container (Assets > Create > Audio > Audio Random Container).
Open the audio random container by double-clicking on the asset.
Drag the clip to the audio clips list.
Drag the audio random container asset to the scene hierarchy to make an audio source with it.
Disable the audio source component.
Enable the audio source component.
Click on the scene view audio toggle (see screen recording).
Actual results: No audio is played.
Expected results: Audio is played. It should play the audio random container asset.
Reproducible with versions: 6000.0.5f1
Not reproducible with versions: 2023.2.0f1
Tested on (OS): MacOS (M1) 14.4.1
Notes:
After following the repro steps, the scene view audio toggle will no longer work with the audio source, even though the audio resource is changed back to an audio clip.
Prioritise and Follow this issue
Have a workaround or additional info about this issue?