Search Issue Tracker
By Design
Votes
0
Found in
5.3.4f1
Issue ID
781627
Regression
No
[iOS] Application fails to load when all audio clips are referenced in script
Steps to reproduce:
1. Open project from link below
2. Build to iOS
3. Launch on low end device like iPhone 4 or iPad Mini 1
4. App will shutdown after some time while loading
or
1. Create new project
2. Add new script with AudioClip list
3. Add 5 or more soundtracks to list
4. Build to iOS
5. Launch on low end device and it will fail loading
Closed as "By Design":
Depending on settings used on all 6 audio clips, memory usage is:
Decompress on load + preload (what's used in repro project): 600 MB
Compressed in memory + preload: 116 MB
Unchecking "Preload Audio Data" for either of two or selecting "Stream" gives a bit over 18 MB memory usage.
So it looks like the answer is to use the proper settings for audio clips for such use cases. If you ask to preload and decompress them, you can get a very high memory usage, which is never good on mobiles.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment