Teams and automation
Adapter SDK
Build deterministic third-party structured adapters with the same exact-occurrence contract as built-ins.
Implement IKiwiAssetSwapAdapter and let KiwiAssetSwapAdapterRegistry discover it through deterministic TypeCache ordering.
An adapter provides:
- a stable namespaced
Id - a human-readable
DisplayName - deterministic
Priorityand scan mode CanInspectwithout mutationCollectthat emits exact structured occurrencesApplythat changes only the supplied selected occurrencesVerifythat proves the source is gone and exact target is present
Use KiwiAssetSwapStructuredOwnerSession for scenes, prefabs, and persistent assets. Use KiwiAssetSwapStructuredReferenceUtility for Unity object-reference properties or an explicitly recognized GUID schema.
Every occurrence needs a stable ID, mapping ID, adapter ID, project-relative asset path, stable owner ID, property path, exact source and target, state, diagnostic, and selection default.
Throwing or returning failure is safe: Asset Swap treats third-party adapter failure as blocking and rolls back any active transaction. Never swallow a schema mismatch or silently skip a previewed occurrence.
See the Adapter SDK Example sample for a known schema containing GUID plus 64-bit local file ID.
Still stuck?
Bring the plan and receipt with you.
Include the Asset Swap version, Unity version, operating system, plan, preview or receipt, relevant logs, and the smallest reproducible project state.