当前位置:网站首页>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 .
边栏推荐
- Free travel recommendation in Bangkok: introduction to the Mekong River in Bangkok
- 力扣349. 两个数组的交集
- Chapter 9 of OpenGL super classic (version 7): fragment processing and frame buffering
- Unity packaging failure solution
- Ripple effect of mouse click (unity & shader)
- One command to run rancher
- 深度学习------不同方法实现Inception-10
- 力扣2049:统计最高分的节点数目
- Redis cluster concept
- Thread safety and processing caused by multithreading
猜你喜欢

Spring Festival Tourism Strategy: welcome the new year in Bangkok, Thailand

Universal Studios Singapore: a good place for a one-day parent-child tour in Singapore

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

Connect() and disconnect() of socket in C #

Unity is associated with vs. there is a compiler problem when opening

Preorder traversal of Li Kou 589:n fork tree

A must see cruise experience in Bangkok: visit the Mekong River and enjoy the scenery on both sides of the river

Why does the computer have no network after win10 is turned on?

力扣209. 长度最小的子数组

Force buckle 349 Intersection of two arrays
随机推荐
QT connecting external libraries
Output directory of log files after unity3d packaging
The golden deer, a scenic spot in London -- a sailing museum that tells vivid sailing stories
Spring Festival Tourism Strategy: welcome the new year in Bangkok, Thailand
Unity multiple UI page turning left and right
ParticleSystem in the official Manual of unity_ Collision module
Singleton mode in unity
Unreal 4 unavigationsystemv1 compilation error
Easyrecovery data recovery software recovers my photo and video data two years ago
PBR material: basic principle and simple fabrication
【VCS+Verdi联合仿真】~ 以计数器为例
Unity/ue reads OPC UA and OPC Da data (UE4)
Unity a* road finding force planning
EasyRecovery数据恢复软件 恢复了我两年前的照片视频数据
Is the Flink connector JDBC open source? Where can I download it
Arsenal Stadium Tour - take you to the front and back of Arsenal Stadium
Passing values between classes using delegates and events
Solution to Autowired annotation warning
Nestjs中控制器和路由的配置使用
Operation file file class method