当前位置:网站首页>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 ]
边栏推荐
- Line test - graphic reasoning -7- different graphic classes
- 不夸张地说,这是我见过最通俗易懂的,pytest入门基础教程
- Revit secondary development - modify wall thickness
- 筑起云端 “免疫”屏障,让你的数据有备无患
- Get the exact offset of the element
- Ni9185 and ni9234 hardware settings in Ni Max
- Basic knowledge of binary tree
- Debezium系列之:mysql墓碑事件
- 微服務遠程Debug,Nocalhost + Rainbond微服務開發第二彈
- Form组件常用校验规则-2(持续更新中~)
猜你喜欢
随机推荐
Debezium系列之:源码阅读之SnapshotReader
Xcode modifies the default background image of launchscreen and still displays the original image
C # Development -- pit encountered in JS intermodulation
Unity development --- the mouse controls the camera to move, rotate and zoom
Force deduction - question 561 - array splitting I - step by step parsing
“拧巴”的早教行业:万亿市场,难出巨头
Leetcode206. Reverse linked list
Basic knowledge of binary tree
Line test - graphic reasoning -7- different graphic classes
Apple further entered the financial sector through the 'virtual card' security function in IOS 16
Line test graph reasoning graph group class
Unity technical notes (I) inspector extension
Sword finger offer 63 Maximum profit of stock
Two minutes, talk about some wrong understandings of MySQL index
Revit secondary development - get the project file path
JS number is insufficient, and 0 is added
[problem] pytorch installation
Sword finger offer 28 Symmetric binary tree
Quick sort (diagram +c code)
Debezium系列之:源码阅读之BinlogReader









