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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment