Skip to content

Resource UID

Mikulas Florek edited this page Jul 8, 2024 · 2 revisions

UIDs are work in progress

Resource UID is 64 bit unique ID assigned to every asset. It can be used as reference to an asset instead of path. This allows users to move an asset without breaking references to it. This includes moving assets between projects or downloading them from the internet.

Meta files

Resource UID is saved next to every asset in meta file. Example: ybot.fbx's UID is saved in ybot.fbx.meta. Meta file must must always be right next to its asset file, otherwise the UID is lost. So be careful when moving or committing assets.

UIDs are stored at the beginning of meta files, one UID per line:

--UID 12E45G7B9
--UID "subresource_name" 4561A89C13

asset type specific meta data follows after that.

Clone this wiki locally