当前位置:网站首页>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,那你可以不设置此项。
边栏推荐
猜你喜欢

Yolov5 advanced zero environment rapid creation and testing

phpcms小程序插件api接口升级到4.3(新增批量获取接口、搜索接口等)

MySQL在服务里找不到(未卸载)

百度小程序富文本解析工具bdParse

Object extraction_ nanyangjx

Games104 Lecture 12 游戏引擎中的粒子和声效系统

Detailed explanation of traditional image segmentation methods

XSS cross site scripting attack

Matlab drawing checkerboard (camera calibration)

Playing card image segmentation
随机推荐
Object extraction_ nanyangjx
【程序的编译和预处理】
Ultrasonic image segmentation
Mongodb分片环境搭建和验证(redis期末大作业)
【MATLAB GUI】 键盘回调中按键识别符查找表
Drawing with MATLAB (2) -- color ring
反爬之验证码识别登录 (OCR字符识别)
Euler function: find the number of numbers less than or equal to N and coprime with n
[300+ continuous sharing of selected interview questions from large manufacturers] column on interview questions of big data operation and maintenance (I)
爬虫 对 Get/Post 请求时遇到编码问题的解决方案
微信小程序如何转换成百度小程序
修复小程序富文本组件不支持video视频封面、autoplay、controls等属性问题
1.21 study gradient descent and normal equation
The solution of positioning failure caused by framework jump
实践是成为网工最快的方法,网络工程师实战项目整理
框架跳转导致定位失败的解决方法
Checkerboard generation + camera calibration + stereo matching
PD快充磁吸移动电源方案
[IVI] 15.1.2 system stability optimization (lmkd Ⅱ) psi pressure stall information
dedecms小程序插件正式上线,一键安装无需任何php或sql基础