当前位置:网站首页>Records of some problems encountered during unity development (continuously updated)
Records of some problems encountered during unity development (continuously updated)
2022-06-30 05:02:00 【StudyHard_ luozhongxu】
1.Unity Report errors Invalid normalized color
Compile without error , The above error will be reported when the interface is opened . This is because Color In the construction method r,g,b,a The value range of is 0 To 1. and Color32 The value range of the construction method is 0 To 255.
2.Unity Report errors Request error (error): UnityEditor.AsyncHTTPClient:Done(State, Int32)
The solution is as follows :
Edit——Preference——General——Show Asset Store search hits( Show asset store search results )( Uncheck the )

3.Unity2017 Release program log file
Unity2017 Publishing program logs is no longer at the same level of the program Data It is written on the hard disk of the computer “C:\Users( user )\ user name \AppData\LocalLow\ Company name in publishing settings \ The name of the work in the release settings ” In the catalog output_log.txt file
4.unity Store download file save path :
Windows System :C:\Users\ System user name \AppData\Roaming\Unity\Asset Store
MAC:"~/Library/Unity/Asset\ Store"
5. Read new xml The document is garbled in Chinese
Create a new text file locally , Change the suffix to ".XML”, And enter xml Format the content and save it . The file header has a definition “<?xml version="1.0" encoding="utf-8" ?>” But then read xml The reason why Chinese garbled code still appears in the document content : When using Notepad to save the document , No encoding format selected , The operating system code is used by default ( Chinese version of the system ), Which is the corresponding "GB2312” code . Just open it with Notepad xml Select Save as after file , And specify the format as utf-8 Problem solvable .
6.unity ContentSizeFitter The refresh is not timely
ContentSizeFitter, The adaptive width and height script will not adapt to the width and height until the next frame . If you want to take effect immediately , You can call
LayoutRebuilder.ForceRebuildLayoutImmediate(rectTransform);
7. The material display is abnormal
1. stay Unity Normal is displayed in , Show exceptions in published programs
2. stay Unity And in the publisher , But in Unity Reselect the material in or in Hierarchy It can be displayed normally after switching and selecting objects in
resolvent : First check Project Setting->Graphics->Built-in Shader Settings->Always Included Shaders Whether the list contains abnormal display shader, If not, add it and then release the test , If it is included, specify again by code shader test , If not yet , Then create a new material through the code, copy the corresponding material properties, and re assign the display object .
边栏推荐
- Unreal 4 unavigationsystemv1 compilation error
- pycharm 数据库工具
- 【VCS+Verdi聯合仿真】~ 以計數器為例
- Error about the new version of UE4: unavigationsystemv1:: simplemovetoactor has been deprecated
- Is the Flink connector JDBC open source? Where can I download it
- Li Kou 2049: count the number of nodes with the highest score
- Malignant bug: 1252 of unit MySQL export
- Brew install NVM command not found solution
- LxC and LXD container summary
- Connect() and disconnect() of socket in C #
猜你喜欢

pycharm 数据库工具

Arsenal Stadium Tour - take you to the front and back of Arsenal Stadium

Singapore must visit these scenic spots during the Spring Festival

MySQL查询小工具(一)json格式的字符串字段中,替换json数组中对象的某个属性值

Parkour demo

PS1 Contemporary Art Center, Museum of modern art, New York

Photon pun refresh hall room list

力扣589:N 叉树的前序遍历

Some books you should not miss when you are new to the workplace

Unity packaging failure solution
随机推荐
Nestjs入门和环境搭建
Autowired注解警告的解决办法
Ripple effect of mouse click (unity & shader)
Create a simple battle game with photon pun
力扣977. 有序数组的平方
Unity script life cycle and execution sequence
Unity3d Google Earth
Harbor API 2.0 query
图的一些表示方式、邻居和度的介绍
Marvel fan welfare: Singapore Madame Tussauds Wax Museum Marvel 4D experience Museum
Chapter 9 of OpenGL super classic (version 7): fragment processing and frame buffering
Operation file file class method
Win10 vs2015 compiling curaengine
2021-06-17 solve the problem of QML borderless window stretching, window jitter and flicker when stretching and shrinking
Tcp/ip protocol details Volume I (Reading Guide)
Nestjs中控制器和路由的配置使用
2021-07-29 compilation of Cura in ubantu18.04
Modbus protocol register
Initial environment configuration of the list of OpenGL super classic (version 7) vs2019
Chapter 11 advanced data management of OpenGL super classic (version 7)