“failed to update unity web player”失败的问题:

我们使用浏览器加载unity 3d 文件,不同的网络可能会产生failed to update unity  web player的错误,详细信息为:
unity web player update finished but installed revision (3578006) is less than required revision (4128001). please reinstall

经过不断研究发现凡是进不去的都是在下载: UnityPlayer3.x.x-win32.zip  和  Mono3.x.x-win32.zip  的时候,在 http://wp-china.unity3d.com//autodownload_webplugin-3.x/Mono3.x.x-win32.zip  和 http://webplayer.unity3d.com//Channels/c16aa56d757c/UnityPlayer3.x.x-win32.zip  返回的状态码是:302

然后转向了
http://59.108.200.37/files/31460000012A3A81/wp-china.unity3d.com//Channels/795a449bc926/UnityPlayer3.x.x-win32.zip 
和 
http://59.108.200.37/files/11330000010D5FDB/webplayer.unity3d.com//Channels/88f3bc4c76f9/Mono3.x.x-win32.zip 
所以是不是说有些unity3d web player插件存放的文件没有更新导致的,



我应该找到问题了
应该是网络供应商对一部分.zip下载文件自己按照一定规则做了缓存导致的,
但是貌似他们缓存的文件是老的,所以导致版本更新其实是失败的

这个问题很多人遇到,比如蒸汽之城啊什么的都这样。

 

 



这种情况一般出现在小型的网络运营商,即该运营商对其下载请求进行了“劫持”,从而使得该用户并不是从真正的 ChinaCache 上进行下载,而是将其重定向到从其本地的缓存中进行下载。以下是一个用户提供过来的典型案例,该用户来自广西玉林市。

 

从上图中可以看到 UnityPlayer3.x.x 和 Mono3.x.x 文件均请求通过 wp-china.unity3d.com(即ChinaCache)上进行下载,但是这两个请求均被 Pending,其真正的下载地址被重定向到 219.232.82.4这个“视通网络”的本地服务  器上,这个就是一些小网络运营商为了节省其从电信、联通上下载的流量,而在其本地设置了一个类似于缓存的服务器,当用户请求相同的 URL 进行下载时,运营  商并没有真正通过 ChinaCache 进行下载,而是将请求重定向该本地服务器。同时,缓存上的文件并不是最新的,这就造成了无法下载到最新的  player 和 mono 版本,进而出现上述错误。对于这种“劫持”行为,目前只能玩家通过向其购买服务的网络运行商进行投诉才可以得到解决。

解决方案:

 


您的unity3d webplayer有可能会由于网络运营商的缓存设置导致更新失败出现错误:
failed to update unity web player(见附件图) 请按照如下步骤进行修复操作: 
1.关闭所有浏览器,卸载unity web player插件
(如何卸载:到控制面板打开程序和功能,找到 Unity Web Player 点击选择,然后点击上部的卸载按钮。)

2.下载修复包:    RepairUnity.txt (485 Bytes, 下载次数: 5) 
解压缩,打开解压缩后的文件夹,根据您的操作系统双击执行win7.bat(win7),xp.bat(xp)进行修复

3.下载unity插件并安装点击下载 :    UnityWebPlayer.txt (485 Bytes, 下载次数: 5) 
重新进入游戏,开始正常游戏.

4.如果还是有问题请尝试清空浏览器缓存重试
您也可以联系我们

谢谢


  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
unity web playerWeb Player License Agreement PLEASE READ CAREFULLY: BY INSTALLING THE SOFTWARE (AS DEFINED BELOW), YOU (EITHER ON BEHALF OF YOURSELF AS AN INDIVIDUAL OR ON BEHALF OF AN ENTITY AS ITS AUTHORIZED REPRESENTATIVE) AGREE TO ALL OF THE TERMS OF THIS END USER LICENSE AGREEMENT REGARDING THE USE OF THE SOFTWARE. 1) GRANT OF LICENSE: You may install this Software on your computer to experience Unity web content. 2) TITLE: You acknowledge that no title to the intellectual property in the Software is transferred to you. Title, ownership, rights, and intellectual property rights in and to the Software shall remain that of Unity Technologies. The Software is protected by copyright laws of the United States and international treaties. 3) ANONYMOUS USAGE STATISTICS: You accept that the first time the Unity Web Player is used, anonymous information about the computer it's loaded on is submitted to Unity Technologies ApS. This only happens once time, and contains no personally identifiable information. The information submitted is: (a) Operating system and version (b) The make of the CPU, and number of CPUs present (c) The graphics card type and vendor name (d) Graphics card driver name and version (example: "nv4disp.dll 6.10.93.71") (e) Which graphics API is in use (example: "OpenGL 2.1" or "Direct3D 9.0c") (f) Amount of system and video RAM present (g) Current desktop resolution (h) Version of the Unity Web Player (i) A number describing whether running on Mac or Windows (j) A checksum of all the data that gets sent to verify that it did transmit correctly 3) DISTRIBUTION: You acknowledge that only Unity Technologies ApS and its designated distribution partners may distribute the Unity Web Player, without a special permission.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值