Search Issue Tracker
By Design
Votes
4
Found in
5.5.0p1
Issue ID
861263
Regression
No
[iOS] [Asset Bundle] Asset Bundles take excessive amounts of memory
Reproduction Steps:
1. Download User provided stripped projects
2. Open "AssetBundlesVsResourcesPrefab" project
//---- Test loading from Asset Bundles ----//
3. Build Asset Bundle ("Assets/AssetBundles/Build AssetBundles")
4. Store assetBundles somewhere (Tested on macOS Apachectl)
5. Change assetBundle url in file "AssetBundleManager/Resources/AssetBundleServerURL"
6. Build and Deploy to iOS device
7. Look in Xcode, how much memory does it take
8. Click GUI button "Load From Asset Bundle"
9. Look in Xcode, how much memory does it take now
//--- Test loading from Resources ----//
10. Rename "AB" folder to "Resources"
11. Build and Deploy to iOS device
12. Look in Xcode, how much memory does it take
13. Click GUI button "Load From Resources"
14. Look in Xcode, how much memory does it take now
Note: Test results are down in the edits
Expected results: Equal or just a bit larger amounts of memory are used by asset bundles.
Actual results: On larger project difference between resources and asset bundles get pretty big (80MB difference on original user project).
Reproduced on devices: iPhone 6 Plus iOS 10.1, iPhone 7 Plus iOS 10.2
Comments (1)
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
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
christiancrt
Oct 29, 2017 21:35
Still present in 5.6.4 on iPad mini 2 with iOS 10.3.3 and iPod touch with iOS 9.3.5.
Since unloading a bundle on iOS seems to cause some references within scenes to become null when reloaded from AssetCatalogues after unloading (might be an unreported bug), assetBundles and ODR are practically unusable at this moment.
I really wonder how others get around this.... almost qustioning my sanity here, because this is so essential that it is hard to belief that nobody else noticed. My fix for now will be reducing the number of individual bundles to an absolute minimum.