1.loadfromfile/load assert()失败的解决
1.0确保路径正确
1.1使用file://协议加载
1.1使用www协议加载
1.1使用UnityWebRequest加载
UnityWebRequest request = new UnityWebRequest(url);
DownloadHandlerAssetBundle handler = new DownloadHandlerAssetBundle(re quest.url, 0);
request.downloadHandler = handler;
yield return request.Send();
if (request.isError)
{
Debug.Log(request.error);
}else
{
//得到下载下来的AB
AssetBundle ab = handler.assetBundle;
}