Reflection Caching

DataLoom uses reflection to scan classes and fields. We optimize this process to keep editor responsiveness high.


Assembly Scanning Filter

When identifying available ScriptableObject subclasses in the project:

  • Scanning every system assembly (e.g. mscorlib, System.Core, or Unity Editor assemblies) causes lag.
  • DataLoom restricts scanning to user-compiled assemblies (such as Assembly-CSharp, Assembly-CSharp-Editor, and explicit namespace wrappers starting with Decnet).
  • Scanned types are cached inside the UI panel runtime session to avoid repeating reflection calls on GUI updates.

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