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
- Terrain Tree cast Realtime and Baked shadows simultaneously when "Mixed" Light mode and "Subtractive" Baked Illumination is used in Edit mode
- OnPostprocessAllAssets() is not called for a modified Prefab when another Asset is set Dirty in the same callback
- [Android] UIToolkit ClickEvent is fired when the device is rotated
- Compilation errors occur when "uintBitsToFloat(int)" gets used in OpenGLES
- User Reporting does not send reports when Managed Stripping Level is set to Low or higher
This is a duplicate of issue #865669