public record class AssetMetaThe whole of a .meta sidecar.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The pattern is Unity's, unchanged and adopted deliberately (ADR-005): one sidecar per imported file, one per folder, committed next to the asset, and the GUID is the identity — generated on first import, never regenerated, path-independent, so moving or renaming a file breaks no reference anywhere. The schema inside is Vixen's.
Key order here is the order it is written in, and the envelope — Guid, MetaVersion, Importer — comes first on purpose. That is what lets the index rebuild read three lines of a file and stop; see MetaScanner.
Fields and properties (6)
public AssetId GuidThe identity. Assigned once, never rewritten.
public int MetaVersionWhich version of this envelope schema the file was written against.
public IImportSettings? ImporterWhich importer made it, and how it was configured.
public AddressableInfo? AddressableWhere it appears in a shipped build, if it does.
public SubAssetEntry[] SubAssetsWhat is inside it.
public Dictionary<string, string> ExtensionsUser and plugin metadata, keyed by name — the typed replacement for Unity's untyped userData string.
Used by (13)
- AssetMetaFileVixen.Core.Yaml
- MetaTestsVixen.Core.Yaml.Tests
- TypeRegistrationVixen.Core.Yaml
- AnimationBinderVixen.Editor.AssetEditors
- BuildPlannerVixen.Editor.Assets
- ContentPipelineVixen.Editor.Assets
- DoctorRunnerVixen.Cli
- EditorApplicationVixen.Editor.App
- PlannedAssetVixen.Editor.Assets
- PlannedProjectVixen.Editor.Assets.Tests
- ProjectAssetVixen.Editor.App
- SceneManifestTestsVixen.Editor.Assets.Tests
- VixenCommandTestsVixen.Cli.Tests