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
- Tile Palette grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
This is a duplicate of issue #865669