- Home /
WWW.LoadFromCacheOrDownload is not downloading in augmented reality app
I am trying to build an augmented reality app and in that app i want some prefabs to load dynamically. So that with some 3d model prefabs on unity store i created myasset.unity3d . I am using WWW.LoadFromCacheOrDownload to download that unity3d file and using it.
When i use normal camera the file is downloading and i am using it as i want but when i add AR Camera from vuforia . Download is not happening.
The code i am using to download is
IEnumerator DownloadAndCache() {
while (!Caching.ready)
yield return null;
string bundleURL = "file:///D:/AR/testDummy/AssetBundle/myasset.unity3d";
www = WWW.LoadFromCacheOrDownload (bundleURL, 1);
yield return www;
Debug.Log (www.assetBundle);
AssetBundle bundle = www.assetBundle;
}
So please help me .
Your answer
Follow this Question
Related Questions
Is Unity 3D suitable for a furniture augmentation app? 1 Answer
What do you call image-marker recognition from device camera, without AR tracking. 0 Answers
Help needed, all AR apps crash on startup 1 Answer
Can an AR app contain both Huawei AR Engine and ARCore at the same time? 0 Answers
Hololens: Share a WorldAnchor between individual apps 0 Answers