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
- Incorrect Shader keyword activation for Shadows when no Light is present in URP
- Editor freezes when loading a specific AssetBundle
- WebGPU builds with Multithreading enabled crash on Safari
- Set as Value in UI Builder doesn't work across all properties.
- Reorderable ListView inside a ScrollView has a glitchy behavior when trying to reorder items
This is a duplicate of issue #865669