当前位置:网站首页>Unity WebGL发布无法运行问题
Unity WebGL发布无法运行问题
2022-06-26 08:41:00 【LixiSchool】
问题1:
It seems your browser does not support running Unity WebGL content from file:// urls. Please upload it to an http server, or try a different browser.
解决方案:
在 火狐浏览器里面设置:
Mozilla firefox(火狐浏览器)开启方法
firefox的用户请在浏览器的地址栏输入“about:config”,回车后:
1、在过滤器(filter)中搜索“webgl”
将webgl.force-enabled设置为true
将webgl.disabled设置为false
2、在过滤器(filter)中搜索“security.fileuri.strict_origin_policy”
将security.fileuri.strict_origin_policy设置为false
关闭目前开启的所有firefox窗口,然后重新启动firefox。
其中前两个设置是强制开启webgl支持,最后一个security.fileuri.strict_origin_policy的设置是允许从本地载入资源,如果你不是webgl的开发者,不需要开发调试webgl,只是想要看一下webgl的demo,那你可以不设置此项。
边栏推荐
- 2021 software university ranking crawler program
- WBC learning notes (I): manually push WBC formula
- [qnx hypervisor 2.2 user manual]12.2 terminology (II)
- Principle of playing card image segmentation
- Fourier transform of image
- 【300+精选大厂面试题持续分享】大数据运维尖刀面试题专栏(一)
- 关于小程序tabbar不支持传参的处理办法
- [Matlab GUI] key ID lookup table in keyboard callback
- 基于SSM的电脑商城
- 20220623 getting started with Adobe Illustrator
猜你喜欢
isinstance()函数用法
XSS cross site scripting attack
设置QCheckbox 样式的注意事项
隐藏式列表菜单以及窗口转换在Selenium 中的应用
Yolov5进阶之三训练环境
[program compilation and pretreatment]
反爬之验证码识别登录 (OCR字符识别)
Simulation of parallel structure using webots
唯品会工作实践 : Json的deserialization应用
Data warehouse (3) star model and dimension modeling of data warehouse modeling
随机推荐
Structure diagram of target detection network
小程序首页加载之前加载其他相关资源或配置(小程序的promise应用)
Yolov5进阶之二安装labelImg
设置QCheckbox 样式的注意事项
Corn image segmentation count_ nanyangjx
Detailed explanation of traditional image segmentation methods
Which software is safer to open an account on
小程序实现图片预加载(图片延迟加载)
唯品会工作实践 : Json的deserialization应用
Partial summary of 45 lectures on geek time MySQL
Exploration of webots and ROS joint simulation (I): software installation
phpcms小程序插件api接口升级到4.3(新增批量获取接口、搜索接口等)
Playing card image segmentation
Selenium 搭建 Cookies池 绕过验证反爬登录
ROS learning notes (6) -- function package encapsulated into Library and called
Programming training 7- date conversion problem
Tensor
Graduation thesis management system based on SSM
Isinstance() function usage
Euler function: find the number of numbers less than or equal to N and coprime with n