-
Notifications
You must be signed in to change notification settings - Fork 520
Open
Description
你好,我是一个小白,目前正在学习这套框架。我发现按照网上的方法,开启更新模式后,下载会卡住,具体表现就是一直在下载,但是下载进度总是为0。我使用的服务器是本地IIS,按照网上的办法搭建的。
`void OnDownloadFile(List evParams) {
UnityEngine.Debug.LogError("OnDownloadFile 下载文件");
string url = evParams[0].ToString();
currDownFile = evParams[1].ToString();
using (WebClient client = new WebClient()) {
sw.Start();
client.DownloadProgressChanged += new DownloadProgressChangedEventHandler(ProgressChanged);
client.DownloadFileAsync(new System.Uri(url), currDownFile);
}
}`
具体就是卡在了DownloadFileAsync这句里面。请问下可能是什么原因呢?会不会是我搭建的IIS有问题,导致不能下载。
Metadata
Metadata
Assignees
Labels
No labels