This is an old revision of the document!
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.
Unity provides this tool in C:\Program Files\Unity\Hub\Editor\2020.2.1f1\Editor\Data\Tools
which allows you to inspect data in the Library folder.
(AssetDatabase v1. See Library/Artifacts for AssetDatabase v2.)
Contains the serialized, imported data keyed by an asset's GUID. binary2text.exe
can be used to dump and view the cached imported data.1)
(AssetDatabase v2. See Library/Artifacts for AssetDatabase v1.)
The new AssetDatabase V2 focuses on determinism. During import, the asset importer is run, which produces some number of Unity serializable assets.
The Library/Artifacts folder stores these post-import generated files for every asset, keyed by the hash of the generated asset.2) These generated assets are also called producedFiles
in Unity internal.
You can look up a disk Asset's post-import representation by:
Editor.log
producedFiles[0].contentHash:
binary2text.exe
can be used to dump and view the cached imported data.3)