ValidateResult
Defined in: prefab/validate.ts:21
Properties
Section titled “Properties”duplicateIds
Section titled “duplicateIds”duplicateIds:
string[]
Defined in: prefab/validate.ts:35
Entity ids that appear on more than one entry. Identity must be unique within a prefab or overrides/diff address the wrong target; the editor must never mint a colliding id (it uses UUIDs).
invalidIds
Section titled “invalidIds”invalidIds:
string[]
Defined in: prefab/validate.ts:41
Entity ids containing the reserved address separator (/). Flatten
composes slot/localId addresses with it, so an authored id must not
contain it — flatten rejects these hard; this is the soft pre-check.
orphanedChildren
Section titled “orphanedChildren”orphanedChildren:
string[]
Defined in: prefab/validate.ts:29
Entity ids mentioned in the prefab’s own children lists that have
no corresponding entity entry. Surfaces corruption from third-party
editing tools; flatten also fails hard on this, so this is a softer
diagnostic the editor can surface before flatten.
stale:
StaleOverride[]
Defined in: prefab/validate.ts:22