标签:浏览器 webgl 游览器 五子棋 3f1 Unity unity2018.4 firefox browser
目录
一、unity打出的web包,游览器打不开
360游览器
It seems your browser does not support running Unity WebGL content from file:// uels.Please upload it to an http sercer, or try a different browser.
谷歌浏览器
Internet Explorer11
Please note that your browser is not currently supported for this Unity WenGL content.Press OK if you wish to continue anyway. OK
An error occurred running the Unity content on this page.See your browser JavaScript console for more info.The error was:拒绝访问
Microsoft Edge
It seems your browser does not support running Unity WebGL content from file:// uels.Please upload it to an http sercer, or try a different browser.
火狐浏览器 (Firefox)
It seems your browser does not support running Unity WebGL content from file:// uels.Please upload it to an http sercer, or try a different browser.
二、原因
您的浏览器似乎不支持从您使用 uels 运行 Unity Webgl file://内容。请将其上传到 http Sercer,或尝试其他浏览器
三、解决
一、如果用Firefox打开
下载火狐浏览器
浏览器的地址栏输入“about:config”然后回车(Enter)
搜索“webgl”
将webgl.force-enabled设置为true
将webgl.disabled设置为false
搜索“security.fileuri.strict_origin_policy”设置为false
关闭firefox,重新启动firefox
选择firefox打开
说明
webgl.force-enabled和webgl.disabled是强制开启webgl支持
security.fileuri.strict_origin_policy的设置是允许从本地载入资源
用其他游览器打开:
待续
标签:浏览器,webgl,游览器,五子棋,3f1,Unity,unity2018.4,firefox,browser 来源: https://blog.csdn.net/xiaoduangg/article/details/111195083
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。