Quantcast
Channel: Questions in topic: "loadassetatpath"
Viewing all articles
Browse latest Browse all 62

Loading an asset bundle is null on second load

$
0
0
Hi, I use the following code to load an asset bundle from disk: AssetBundle.CreateFromFile(path); This works first time I run this code, but if I try to load the same asset bundle later (while the instance of unity is running), the object is just NULL. I think this is because unity has maybe cached this in memory - if so, how do I access it second time round? Thanks in advance for any pointers!

Viewing all articles
Browse latest Browse all 62

Trending Articles



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