Search Issue Tracker
Fixed
Fixed in 6000.0.18f1, 7000.0.0a13
Votes
0
Found in
6000.0.11f1
6000.1.0a7
Issue ID
UUM-75910
Regression
Yes
AudioSource.isPlaying remains true when setting the GameObject to SetActive(false) after AudioSource.Play()
Reproduction steps:
1. Open the attached “audio_source” project
2. Open the “Assets/Audio” scene
3. Enter the Play mode
4. Observe the Console logs
Expected Result: The OnEnable logs are always false and the audio plays twice
Actual Result: The OnEnable logs are true after the audio finishes playing and the audio plays only once
Reproducible with: 6000.0.0b13, 6000.0.11f1
Not reproducible with: 2021.3.40f1, 2022.3.38f1, 6000.0.0b12
Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (fix version 6000.0.18f1):
Fixed an issue where an AudioRandomContainer's AudioSource.isPlaying would remain true when deactivating and activating the game object.