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
-
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
- Symlinks are broken when a package which contains .xcframework + symlinks is added through Unity Package Manager.
- Crash on ApplyMaterialPass when opening a specific scene
- Memory leak when using Native Plugin in Windows IL2CPP Build
- [URP][Tutorial] Universal 3D Sample tutorial issues
- Gradle error: "...Unexpected error during link..." is thrown when building for Android and targeting API Level 34
This is a duplicate of issue #865669