当前位置:网站首页>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,那你可以不设置此项。
边栏推荐
- docker安装redis
- Clion installation + MinGW configuration + opencv installation
- ImportError: ERROR: recursion is detected during loading of “cv2“ binary extensions. Check OpenCV in
- 深度学习论文阅读目标检测篇(七)中文版:YOLOv4《Optimal Speed and Accuracy of Object Detection》
- Degree of freedom analysis_ nanyangjx
- [QNX Hypervisor 2.2用户手册]12.1 术语(一)
- [300+ continuous sharing of selected interview questions from large manufacturers] column on interview questions of big data operation and maintenance (I)
- Optimize quiver function in MATLAB to draw arrow diagram or vector diagram (1) -matlab development
- Graduation thesis management system based on SSM
- 1.26 pytorch learning
猜你喜欢

Autoregressive model of Lantern Festival

Principle of playing card image segmentation

Yolov5 advanced 5 GPU environment setup

Regular Expression 正则表达式

Exploration of webots and ROS joint simulation (I): software installation

【300+精选大厂面试题持续分享】大数据运维尖刀面试题专栏(一)

isinstance()函数用法

Exploration of webots and ROS joint simulation (II): model import

phpcms小程序插件教程网站正式上线

yolov5进阶之零环境快速创建及测试
随机推荐
Ultrasonic image segmentation
Drawing with MATLAB (2) -- color ring
Yolov5进阶之二安装labelImg
爬虫 对 Get/Post 请求时遇到编码问题的解决方案
1.26 pytorch learning
框架跳转导致定位失败的解决方法
反爬之验证码识别登录 (OCR字符识别)
ImportError: ERROR: recursion is detected during loading of “cv2“ binary extensions. Check OpenCV in
Yolov5进阶之五GPU环境搭建
Live review | smardaten lihongfei interprets the Research Report on China's low / no code industry: the wind direction has changed
基于SSM的电脑商城
Structure diagram of target detection network
phpcms小程序接口新增万能接口get_diy.php
phpcms小程序插件4.0版正式上线
How to use the least money to quickly open the Taobao traffic portal?
1.Intro_ Math (white board derivation and reprint of station B)
自动化测试中,三种常用的等待方式,强制式(sleep) 、 隐式 ( implicitly_wait ) 、显式(expected_conditions)
phpcms v9后台文章列表增加一键推送到百度功能
远程工作的一些命令
XSS cross site scripting attack