How to get AssetBundleManifest object from myAssetBundle.manifest file from serwer?

I have my assetbundle files myAssetBundle and myAssetBundle.manifest stored on my serwer.
I am using WWW.LoadFromCacheOrDownload to download myAssetBundle.
I can not just work out how to get AssetBundleManifest object from myAssetBundle.manifest file to check it prior to downloading myAssetBundle.

In a number of forum threads I have found the same piece of code:

WWW www = new WWW(path+manifestName);
yield return www;
manifest = (AssetBundleManifest)www.assetBundle.LoadAsset("AssetBundleManifest");
yield return null;
www.assetBundle.Unload(false);

Unfortunately www.assetBundle returns to me a null value.

What am I doing wrong? Could anyone give me some hint on this?

You should try new WWW(path + assetbundlename);

Most probably you are downloading the file that looks like “assetBundleFileName.manifest”. But that one is actually the manifest file of the asset bundle manifest file. You should download the file “assetBundleFileName” without extension to get the AssetBundleManifest object.
107467-assetbundlemanifest.jpg

Hey… and what if I want to use the .manifest text file instead of the AssetBundle file ?

I do prefer to work with the .manifest file so I can append one more asset bundle to the system easily, without having to build all of the asset bundles…