天天看點

Unity 3D本地釋出WebPlayer版時"Failed to download data file"解決方案

Unity 3D本地釋出WebPlayer版時"Failed to download data file"解決方案

Unity 3D本地釋出WebPlayer版時遇到提示:"Failed

to download data file"(如上圖),遇到這個問題就是指Web伺服器并沒有支援這種*.unity3d檔案類型。需要做的是在Web伺服器中添加MIME類型:

1.IIS 7 及以上版本:

在功能視圖的IIS頁籤中:

Unity 3D本地釋出WebPlayer版時"Failed to download data file"解決方案

輕按兩下打開MIME,選擇“添加”:

Unity 3D本地釋出WebPlayer版時"Failed to download data file"解決方案

2.IIS6版本:

右擊計算機名,選擇屬性,找到MIME類型,同樣道理選擇建立即可。

繼續閱讀