- Home /
How to load an AssetBundleManifest in the Editor?
The editor can create an bunch of bundles -including one that contains the AssetBundleManifest. But, because the editor can't use coroutines, the asset bundle loading API seems to be carefully crafted to prevent the editor from reading the manifest it just created.
The problem is that
The bundle containing the manifest is compressed.
Unity's system for decompressing bundles only works asynchronously through coroutines.
The editor does not support working asynchronously through coroutines.
WWW or AssetBundle.CreateFromMemory can decompress the bundle, but won't work in the editor. AssetBundle.CreateFromFile or CreateFromMemoryImmediate will work in the editor, but can't decompress the bundle.
So, now what?
Your answer
Follow this Question
Related Questions
Assetbundles differ when built on different computers from the same content 0 Answers
EditorSceneManager.OpenScene & AssetBundle 0 Answers
How is asset bundle crc and hash created? 0 Answers
Put shaders in different AssetBundle without bundles dependency. 1 Answer
SpritePacker not working on bundles 0 Answers