- Home /
Question by
rmccabe82 · Feb 15, 2015 at 05:03 PM ·
assetbundlebundleloadassetatpath
Loading an asset bundle is null on second load
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!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613183359im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to version control with an addressable Asset System 0 Answers
Put shaders in different AssetBundle without bundles dependency. 1 Answer
Can asset bundled scenes contain original tags which can be read when downloaded? 1 Answer
How to import the object from server to unity 2 Answers
AssetBundle Load 0 Answers