I have a scriptable object ,which has a reference to the animationclip. like this:
[Serializable]
class A:ScriptableObject{
public AnimationClip B;
}
I bundle the scriptable file and fbx file together. Then I use WWW.LoadFromCacheOrDownload to load the assetbundle.
But the new loaded animationclip is an empty one.
The load code is like below. the idle_bundle is empty!
using(var w = WWW.loadFromCacheOrDownload(url,path){
yield return www;
var asset = www.assetbundle;
var clips = asset.LoadAllAssets<AnimationClip>();
var idle_bundle = clips[0];
etc.....
}