Quantcast
Channel: Questions in topic: "assetbundle"
Viewing all articles
Browse latest Browse all 1593

AssetBundles vs Resources Speed to load

$
0
0
I have various scenes saved as prefabs. The prefabs contains everything for the scene in a single empty except standard objects like player, sky, etc that will be used in all scenes. I was storing these scene prefabs in the Resources folder and instantiating them from there until I started to get memory allocation errors on attempting to build if had a lot of scene prefabs. So I changed them from resources to locally stored assetbundles. The trouble I am now having is that scenes which took 5 seconds to load from a resource now take 25 seconds to load from asset bundles. Is there any way to get round this speed problem? Resources seem the better option but then I get the crash on build.

Viewing all articles
Browse latest Browse all 1593

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>