Search Issue Tracker

Fixed

Fixed in 6000.0.9f1, 7000.0.0a12

Votes

1

Found in

6000.0.3f1

6000.1.0a7

Issue ID

UUM-71884

Regression

No

Using AudioSource.clip to change from Audio Random Container when Play On Awake is enabled some audio source APIs broken

-

Steps to reproduce:

  1. Download and open the attached project "Audio Resource Swap Issue.zip".
  2. Open the SampleScene.
  3. Enter play mode.
  4. Press the "Change Resource To Clip" button.
  5. Press the "Play Audio" button.
  6. 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

  1. Resolution Note (fix version 7000.0.0a12):

    Fixed an issue where alternating between the AudioSource.clip and AudioSource.resource setters would cause the AudioSource.volume setter to have no effect.

  2. Resolution Note (fix version 6000.0.9f1):

    Fixed an issue where alternating between the AudioSource.clip and AudioSource.resource setters would cause the AudioSource.volume setter to have no effect.

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.