当前位置:网站首页>Unity Detailed explanation of meta file function
Unity Detailed explanation of meta file function
2022-06-21 08:21:00 【kuilaurence】
If you use something like SVN Version control tools , Then you have to understand Meta Role of documents .
Reference a game resource in the game scene ,Unity Not directly according to the file path and name , Instead, use a unique GUID To point to the resource file in the project . This GUID Stored in the Unity The project generates for each resource and folder Meta In the document .
Use GUID Is that , Even if you move 、 Rename or modify the content of the resource , This resource can still be accessed through GUID To be quoted ( as long as GUID unchanged , Resources can be referenced ).
The disadvantage is that you must be clearly aware of Meta Files are associated with specific resources , If you delete one meta file ,Unity It will be considered that the original resource file has been deleted , And then for this “ new ” The resource file generates a new GUID. This is the most common reason for the interruption of resource references in game scenes .
except GUID,meta The file also stores information about resource import . for example , Map assets can be imported as standard maps 、 Normal map 、GUI Mapping 、cookie Or ray mapping . These import settings are stored in meta In the document .
There was a problem before , I uploaded it to SVN The monster of Prefab, Check on the planning side to see if “Missing Script” The problem of , After inspection , Is the of the missing script meta The file was not uploaded to SVN. therefore , According to the above theory , thus Prefab Could not find a reference to the script .
边栏推荐
- Difference between function declaration and function expression
- There was a GC failure in the online go service. I was in a hurry
- 5 minutes to understand MySQL - row to column
- 解密FTP
- Using elastic stack to analyze Olympic data (II)
- How can we make millions a year now?
- [kotlin] premier jour
- [DB written interview 274] in Oracle, what is deferred segment creation?
- Mongodb installation (Graphic tutorial)
- Kotlin---- control statement
猜你喜欢

2022-2028 global hydrogen internal combustion engine industry research and trend analysis report

Decrypt FTP

Cluster hui dsm7 add suite source

The market value of Jinshan office fell below 100 billion yuan: the shareholder Qiwen n-dimensional cash out exceeded 1.2 billion yuan

Ads Filter Design Wizard tool I
![[actual combat] ACM players illustrate leetcode using stack to realize queue](/img/f7/0a21f2fdc7c18f352c1b134d27c21c.jpg)
[actual combat] ACM players illustrate leetcode using stack to realize queue

Scientific research information | national natural conclusion regulations: more than 50% of the fund balance or it will not be concluded

移动应用开发总结

LeetCode数组经典题目(一)
![[kotlin] premier jour](/img/51/18b394a6bf0ab74b71e5c59ad3341c.png)
[kotlin] premier jour
随机推荐
4.8 inquirer-autocomplete-prompt
线上GO服务出现GC故障,我当时就急了
Unity 5 自带的Mono也可以支持C# 6
Using the method of combining shapes in illustrator
Ads Filter Design Wizard tool 2
安装MySQL出现白页面怎么办
2022-2028 global cooling on-off valve industry research and trend analysis report
Diary (C language summary)
Figure neural network and cognitive reasoning - Tang Jie - Tsinghua University
Yunkang group passed the hearing: the revenue exceeded 1billion in 8 months and the profit within the period was 270Million
Can you implement these requirements with MySQL
Ads Filter Design Wizard tool I
33 Jenkins modify plug-in source
Improve code checking with annotations
1006 sign in and sign out (25 points)
2022-2028 global section valve industry research and trend analysis report
Unity中.Meta文件作用详解
[actual combat] ACM players illustrate leetcode using stack to realize queue
Leedcode 1 - sum of two numbers
php exec、 system 、shell_ Exec cannot be executed. There is no result. The result is nulld. Solution