fileFormatVersion: 2 --> magic 2, think its just a version number of meta format
guid: --> is this just a guid like from visual studio without the - ? MAIN Question here!
folderAsset: yes --> ya, if its a folder
DefaultImporter: --> some blabla
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Is it possible to just create such a textfile an generate a guid in visual studio (removing the - ) ?? Or does Unity do some magic to generate the guid ?
why: Its for creating custom registry npm packages. Where every file/folder has to have a meta but is not part of a unity project…
yes the GUID is just a 128 bit hex-encoded value. important: ensure it is unique
beware that the DefaultImporter only applies to folders. other asset types (e.g. textures) have their own importers and their .meta is wildly different.
e.g: this is for a script:
meta file