Search Issue Tracker
Fixed
Votes
0
Found in
Issue ID
466310
Regression
No
AudioClips with "stream from disk" and AssetBundles doesnt work as expected
if you use AudioClips with "stream from disk" flag and load them from AssetBundle, Fmod allocates memory for full size wave.
some info from the porifler
1. Decompres on load: Memory Tab (AudioClips) ~31.2 mb Audio Tab 31.5 mb
2. Compressed in memory: Memory Tab (AudioClips) ~3.7 mb Audio Tab 0.6 mb
3. Streamed from disc: Memory Tab (AudioClips) 62.5 kb Audio Tab 31.5 mb
To repro open attached project, and change path for asset bundles in TestSound.cs
From what i can gather - in that case m_AudioData is used, so to me it seems like AssetBundles do not support streaming data - but i might be wrong as i just quickly stepped through code
i wasnt able to upload to fogbugs, so take repro here (it is nival repro)
http://files.unity3d.com/alexey/SoundAssetBundleTest.ZIP
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Add comment