当前位置:网站首页>Unity and webgl love each other
Unity and webgl love each other
2022-07-07 22:55:00 【@Xiao Yang】
List of articles
Set up IIS Local server
Tips : Build local ,UnityWebGL Published in the IIS The server runs the test :
Original blogger link :UnityWebGL Published in the IIS The server runs the test
- Open the control panel -> Program -> Enable or close Windows function -> Enable IIS, Check all the options
2. Click... In the upper right corner of the control panel View by - Large icon , Find management tools -Internet Information Services (IIS) Manager
3. New web address Name English casually The physical path is packaged by you WebGL Project path IP The address drop-down box can select Write a port number by yourself , for example 8082 Click ok
4. Click on the newly established website in the website list , double-click MINE type , Right click - add to , extension :.unityweb,MINE type :application/binary Be careful :Unity Hit the web package , Remember to check the option , Otherwise, there will be errors (Failed to load resource: the server responded with a status of 404 (Not Found))
1.iis Configuration complete , open web Package error
Example :IIS Unable to read the configuration file due to insufficient permissions solution , If you also encounter this problem, you can refer to the blogger's blog .
Insufficient permissions to read the configuration file
Use Unity Development WebGL Functional categories
1.WebGL Open the locally selected file
be based on unity 2020.3.30f1 Integration of package package , Pro testing is available in the project .
Click to download Demo
2.Unity Input box InputField The input problem
WebGLSupport plug-in unit Characters will be entered upside down in full screen mode , And can't type Chinese
3.Unity Text Components do not display fonts
unity Pack it up web End ,Text Component default Font Arial The font will not display !!!
Need to go online to download usable fonts , Or find your computer to store fonts locally C Under the plate , Path is C:\Windows\Fonts Import a file in the format .ttf Chinese font , take Arial Replace the font with the imported Chinese font .
- [ This article will continue to be updated in the future according to the problems encountered in the project ]
边栏推荐
- Loki, the "open source star picking program", realizes the efficient management of harbor logs
- Debezium系列之:支持 mysql8 的 set role 語句
- 微生物健康网,如何恢复微生物群落
- ADC采样率(HZ)是什么怎么计算
- Qt Graphicsview图形视图使用总结附流程图开发案例雏形
- vite Unrestricted file system access to
- Explain in detail the communication mode between arm A7 and risc-v e907 on Quanzhi v853
- Time convolution Network + soft threshold + attention mechanism to realize residual life prediction of mechanical equipment
- De la famille debezium: SET ROLE statements supportant mysql8
- Revit secondary development - intercept project error / warning pop-up
猜你喜欢
LeetCode142. Circular linked list II [two pointers, two methods for judging links in the linked list and finding ring points]
[environment] pycharm sets the tool to convert QRC into py file
如何选择合适的自动化测试工具?
LeetCode203. Remove linked list elements
Sword finger offer 28 Symmetric binary tree
Common verification rules of form components -2 (continuously updating ~)
行测-图形推理-1-汉字类
Leetcode206. Reverse linked list
Unity FAQ (I) lack of references
GBU1510-ASEMI电源专用15A整流桥GBU1510
随机推荐
This experimental syntax requires enabling the parser plugin: ‘optionalChaining‘
Revit secondary development - link file collision detection
Common verification rules of form components -2 (continuously updating ~)
双非大厂测试员亲述:对测试员来说,学历重要吗?
Debezium series: introducing support for the final operator
Leetcode1984. Minimum difference in student scores
[environment] pycharm sets the tool to convert QRC into py file
7-18 simple simulation of banking business queue
Aspose. Words merge cells
Debezium series: set role statement supporting mysql8
0-5vac to 4-20mA AC current isolated transmitter / conversion module
Unity technical notes (II) basic functions of scriptableobject
不夸张地说,这是我见过最通俗易懂的,pytest入门基础教程
行测-图形推理-6-相似图形类
Time convolution Network + soft threshold + attention mechanism to realize residual life prediction of mechanical equipment
How to judge whether the input content is "number"
ASP. Net core introduction V
Debezium系列之: 支持在 KILL 命令中使用变量
Unity FAQ (I) lack of references
Line test - graphic reasoning - 4 - alphabetic class