Two-Pass Reference Resolver

Details on the indexing logic that makes circular references compile cleanly without missing targets.


Technical Mechanics

  1. Instantiation: Parses rows, loads existing assets or instantiates new ScriptableObjects using ScriptableObject.CreateInstance(), saving them to disk.
  2. Indexing: Indexes all active ScriptableObjects in the target output folder using their configured unique ID key.
  3. Reference Mapping: Iterates through fields of type ScriptableObject. Reads the string key in the column, searches the index cache for the matching asset, and assigns the object reference directly.

This site uses Just the Docs, a documentation theme for Jekyll.