当前位置:网站首页>Unity WebGL打包后怎么运行(火狐配置)
Unity WebGL打包后怎么运行(火狐配置)
2022-06-28 00:56:00 【Zhangxian_12】
打包后出现以下:
其中两个文件夹都是项目资源,只有index.html才是打开Web运行的页面
使用火狐浏览器
Firefox浏览器
Firefox的用户请在浏览器的地址栏输入“about:config”,回车
在过滤器(filter)中搜索“webgl”
将webgl.force-enabled设置为true
将webgl.disabled设置为false
在过滤器(filter)中搜索“security.fileuri.strict_origin_policy”
将security.fileuri.strict_origin_policy设置为false
关闭目前开启的所有Firefox窗口,然后重新启动Firefox。
其中前两个设置是强制开启WebGL支持,最后一个security.fileuri.strict_origin_policy的设置是允许从本地载入资源,如果你不是WebGL的开发者,不需要开发调试WebGL,只是想要看一下WebGL的Demo,那你可以不设置此项。
边栏推荐
- 我今天忘带手机了
- 如何开启多语言文本建议?Win11打开多语言文本建议的方法
- Flashtext, a data cleaning tool, has directly increased the efficiency by dozens of times
- 原理图合并中的技巧
- STM32F1与STM32CubeIDE编程实例-金属触摸传感器驱动
- 【历史上的今天】6 月 1 日:Napster 成立;MS-DOS 原作者出生;谷歌出售 Google SketchUp
- LeetCode - Easy - 197
- High reliability application knowledge map of Architecture -- the path of architecture evolution
- 王心凌、谭维维 - 山海(副歌加长版) 在线试听无损FLAC下载
- 迪赛智慧数——柱状图(折柱混合图):2021年毕业季租房价格和房租收入比
猜你喜欢

批阅2022春季学期课程小论文提交情况

Win11 cannot create a new text document? Solution to win11 right click failure to create a new text document

【历史上的今天】6 月 16 日:甲骨文成立;微软 MSX 诞生;快速傅里叶变换发明者出生

Stm32f1 and stm32subeide programming example - metal touch sensor driver

Dynamic Host Configuration Protocol

【二維碼圖像矯正增强】基於MATLAB的二維碼圖像矯正增强處理仿真

SQL injection bypass (V)

【历史上的今天】6 月 6 日:世界 IPv6 启动纪念日;《俄罗斯方块》发布;小红书成立

在线JSON转PlainText工具

Architecture high reliability application knowledge map ----- microservice architecture map
随机推荐
Cloud native (30) | kubernetes' app store Helm
毕业总结
The graduation season is coming, and the number of college graduates in 2022 has exceeded 10 million for the first time
SQL injection bypass (IV)
简单文件传输协议TFTP
JS implementation of Slide Puzzle verification
Mysql查询相关知识(进阶七:子查询
Cloud platform KVM migration local virtual machine records
[cloud native] - docker installation and deployment of distributed database oceanbase
被通知裁员后拿到5个offer
共阳极数码管真值表
投资同业存单基金是靠谱吗,同业存单基金安全吗
Low code solution - a low code solution for digital after-sales service covering the whole process of work order, maintenance and Finance
【历史上的今天】6 月 10 日:Apple II 问世;微软收购 GECAD;发明“软件工程”一词的科技先驱出生
Leetcode topic [array] -228- summary interval
文件传输协议--FTP
【模糊神经网络】基于matlab的模糊神经网络仿真
CVPR22收录论文|基于标签关系树的层级残差多粒度分类网络
数智学习|湖仓一体实践与探索
4G-learn from great partners