{"id":13985,"date":"2024-10-20T13:44:50","date_gmt":"2024-10-20T17:44:50","guid":{"rendered":"https:\/\/www.sceneri.com\/?post_type=sceneri-pro-docs&p=13985"},"modified":"2024-11-01T19:45:31","modified_gmt":"2024-11-01T23:45:31","slug":"asset-database","status":"publish","type":"sceneri-pro-docs","link":"https:\/\/www.sceneri.com\/sceneri-pro-docs\/asset-database\/","title":{"rendered":"Asset Database"},"content":{"rendered":"
Asset databases (.nassetdb) contains json data mapping asset GUIDs (unique identifiers), used to provide quick lookup of the latest known file paths (relative to the asset database config’s folder) and commonly queried information such as the identifier of their thumbnails. This database can be generated from the project, engine and plug-in configuration file shell menus.<\/p>\n
The generation step works by traversing the project, plugin or engine’s asset directories, and stores the GUID and relative path to the asset in the database.<\/p>\n
Note that full paths are never referenced in code, we always utilize the GUIDs of assets in order to maintain the ability to move any file at any point in time.<\/p>\n<\/div>