Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

How asset bundle cache works ?

$
0
0
Hello , I'm working on a quite big project for mobiles so I decided to **move almost all my content** , all my scenes and most of the prefabs,texture that my game use , **into Addressables** to have more memory control , but I ran into a problem since most of the assets are built into bundles , some of these are large and with the default **"Use Asset Bundle Cache" activated** , the game **get twice as big** because of the cache but it runs fine , when **I disable cache** option the **game crash** when multiple assets(from different bundles) needs to be loaded at once . I tried to read logcat when the crash happens but nothing useful , just a bunch of Android services that are restarted , I assume that the device runs out of RAM when that option is disabled. Am I missing something ? Or my approach to pack the game into bundles is wrong ? (I'm using Unity **2021.3.14f1 , LZ4** compression for all bundles , **all bundles are included in build**, none of these are downloaded after)

Viewing all articles
Browse latest Browse all 2383

Trending Articles