- Home /
Loading Asset Bundle from OBB file?
Hi everyone.
We have a project base on unity 5.6 . we recently decide to update unity to 2018. Everything goes well except our loading asset bundle from our obb file.
In unity 5.6 we could load an asset bundle that was inside obb file with something like this :
var path = obbPath+"!/"+assetBundleName;
www.LoadFromCacheOrDownload(path );
But the same code doesn't work on unity 2018 . we get error " HTTP/1.1 404 Not Found " . We even try by using UnityWebRequest :
var path = obbPath+"!/"+assetBundleName;
var request = UnityWebRequestAssetBundle.GetAssetBundle(new Uri(filePath), 0);
yield return request.SendWebRequest();
But we get same error. Does anything have changed in unity 2018 on WWW class?
Any help would be greatly appreciated!
Your answer
![](https://koobas.hobune.stream/wayback/20220612225055im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to import the object from server to unity 2 Answers
Using as AssetBundle to replace first scene 2 Answers
asset bundle create and download from server(IOS) 1 Answer
Crash in ScriptingUtility.h line 231 0 Answers
Creating Asset-Bundle from FBX sub tree 0 Answers