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
- Nested Canvases with the same Order in Layer ignore Z position for render order when sharing parent Canvas
- ShaderGraph Material subasset loses texture reference when reimporting all assets while using a scripted importer
- Values changed on a prefab are not retained when entering Play Mode
- Shadow Caster 2D shadows partially disappear in specific spots when used with Composite Collider 2D in the Game view
- Hierarchy and Library parts in UI Builder are inaccessible when UI Builder window is resized and these elements no longer fit in the window
Add comment