Fork me on GitHub
打赏

Unity Package Manager Error的解决方案

问题来源

启动Unity时显示 fail to start Unity Package Manager,软件环境为 Unity 2017.3.0f3.

 

解决方案

根据网上所给的方案,我选择添加环境变量的方法

直接在cmd下用命令行添加(注意用管理员方式打开),命令如下:setx UNITY_NOPROXY localhost,127.0.0.1 

 

除此之外,还有修改hosts方法

找到C:\Windows\System32\drivers\etc\hosts文件,把“127.0.0.1 localhost” 前的注释符号去掉保存。

 

 

参考解决方案的一些相关链接

官方解决方案:https://answers.unity.com/questions/1423264/unity-20172-not-workingunity-package-manager-error.html

其他:http://tieba.baidu.com/p/5402602229?red_tag=j1291795153

关闭windows defender和防火墙,重置网络设置。参考 https://iihelp.iinet.net.au/Resetting_Network_Adapter_%28Winsock_Reset%29

 

posted @ 2018-04-10 12:54  Zoctopus_Zhang  阅读(15259)  评论(0编辑  收藏  举报
// function btn_donateClick() { var DivPopup = document.getElementById('Div_popup'); var DivMasklayer = document.getElementById('div_masklayer'); DivMasklayer.style.display = 'block'; DivPopup.style.display = 'block'; var h = Div_popup.clientHeight; with (Div_popup.style) { marginTop = -h / 2 + 'px'; } } function MasklayerClick() { var masklayer = document.getElementById('div_masklayer'); var divImg = document.getElementById("Div_popup"); masklayer.style.display = "none"; divImg.style.display = "none"; } setTimeout( function () { document.getElementById('div_masklayer').onclick = MasklayerClick; document.getElementById('btn_donate').onclick = btn_donateClick; var a_gzw = document.getElementById("guanzhuwo"); a_gzw.href = "javascript:void(0);"; $("#guanzhuwo").attr("onclick","follow('33513f9f-ba13-e011-ac81-842b2b196315');"); }, 900);