This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
library [2021/03/08 22:36] 73.95.178.156 |
library [2021/06/25 21:20] redwyre Added table of folders and files |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Library Folder ====== | ====== Library Folder ====== | ||
- | The library folder is a large cache containing imported assets and other data from the project after import. It is generally always 100% safe to delete the Library folder. As Unity has become more stable, this has become much less necessary than it once was. | + | The library folder is a large cache containing imported assets and other data from the project after import. It is generally always 100% safe to delete the Library folder. As Unity has become more stable, this has become much less necessary than it once was. It is also possible to remove some subfolders without requiring to delete the entire Library folder and have it re-import/ |
+ | |||
+ | ^ Folder | ||
+ | | APIUpdater | ||
+ | | [[# | ||
+ | | BuildPlayerData | ? | ? | | ||
+ | | BurstCache | Files compiled in the editor using Burst | Yes | | ||
+ | | il2cpp_cache | Files from il2cpp build | Yes | | ||
+ | | PackageCache | Downloaded packages, it is possible for these to be corrupted | Yes | | ||
+ | | PackageManager | ? | ? | | ||
+ | | PlayerDataCache | Data from player builds | Yes | | ||
+ | | Recorder | ? | ? | | ||
+ | | ScriptAssemblies | All compiled and referenced assemblies | Yes | | ||
+ | | ShaderCache | Cached compiled shaders | Yes | | ||
+ | | StateCache | State of the Editor | Yes | | ||
+ | | TempArtifacts | ? | Yes | | ||
+ | | UIElements | UIElements preferences | Yes | | ||
+ | |||
+ | |||
+ | |||
+ | ^ File ^ Purpose | ||
+ | | ArtifactDB | Artifact DB of everything in Artifacts folder | Deleting this will invalidate Artifacts folder | | ||
+ | | ArtifactDB-lock | Artifact DB lock file | ? | | ||
+ | | LastBuild.buildreport | Binary build report from last build | Yes | | ||
+ | | shadercompiler-UnityShaderCompiler.exe* | Log files from shader compilers | Yes | | ||
+ | | SourceAssetDB| ? | ? | | ||
+ | | SourceAssetDB-lock | SourceAsset DB lock file | ? | | ||
===== binary2text.exe ===== | ===== binary2text.exe ===== | ||
Line 7: | Line 34: | ||
Unity provides this tool in '' | Unity provides this tool in '' | ||
- | ===== Library/metadata ===== | + | ===== metadata |
- | // | + | // |
Contains the serialized, imported data keyed by an asset' | Contains the serialized, imported data keyed by an asset' | ||
- | ===== Library/Artifacts ===== | + | ===== Artifacts |
- | // | + | // |
- | The new AssetDatabase V2 focuses on determinism. | + | During import |
- | The Library/ | + | This folder is also related to the '' |
- | You can look up a disk Asset' | + | The Artifacts folder stores these post-import generated files for every asset, keyed by the hash of the generated asset.((Note that this is not keyed by the GUID of the asset, as it was in the last asset database.)) These generated assets are also called '' |
+ | |||
+ | You can look up a disk Asset' | ||
- Opening the Unity '' | - Opening the Unity '' | ||
- Right-click on the asset, ' | - Right-click on the asset, ' | ||
Line 25: | Line 54: | ||
- The key for that recently imported asset will be at the printed hash. | - The key for that recently imported asset will be at the printed hash. | ||
- | '' | + | {{: |
+ | |||
+ | '' | ||
+ | |||
+ | ===== Artifact Paths ===== | ||
+ | |||
+ | You can query the path of an artifact using '' | ||