Search Issue Tracker
Duplicate
Votes
3
Found in
5.4.0p2
Issue ID
827425
Regression
No
When executing Resources.UnloadUnusedAssets, playback is stopped for any AudioClips with reference counters remaining
Steps to reproduce:
1. Open the attached project.
2. Open 'Main 'scene.
3. Press play.
A background music will be played and after few seconds 'UnloadUnusedAssets' is executed and background music will start playing from the start again and errors appear in the console.
The expected behaviour is that UnloadUnusedAssets don't affect the audio clip in any way.
Reproduced on: 5.5.0b1, 5.4.0p4, 5.4.0f3, 5.3.6p3, 5.3.6f1, 5.3.5f1
Comments (2)
-
WisdomInfotech
Mar 21, 2017 16:32
same issue from my side as well (v5.4.1). please fix it ASAP
-
chenjingsuzhou
Aug 31, 2016 08:20
met the same situation
http://forum.unity3d.com/threads/unity5-4-0f3-unloadunusedassets-stop-audiosource.420060/
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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
This is a duplicate of issue #865669