附上代码:
AVFile file = AVFile.CreateFileWithLocalPath (gamePack, exportZipPath);
file.SaveAsync ().ContinueWith (t => {
Debug.Log (string.Format ("c:{0}, f:{1}, e:{2}, url:{3}", t.IsCanceled, t.IsCompleted, t.IsFaulted, file.Url.AbsolutePath));
foreach (var e in t.Exception.Flatten().InnerExceptions) {
Debug.LogException (e);
}
});
log:
c:False, f:True, e:False, url:/f3c4a920-2c7a-486d-b42e-a47e754da568.zip
后台没有生成AVFile的纪录。