Skip to content

PrefabDiagnostic

Defined in: prefab/validate.ts:174

One structured problem found in a prefab asset.

code: string

Defined in: prefab/validate.ts:176

Stable machine code (kebab-case), e.g. duplicate-id, parent-cycle.


optional entityId?: string

Defined in: prefab/validate.ts:181

The entity the problem is on, when applicable.


optional field?: string

Defined in: prefab/validate.ts:183

The component type / Comp.field / metadata key involved, when applicable.


message: string

Defined in: prefab/validate.ts:179

One-line human-readable explanation.


severity: PrefabDiagnosticSeverity

Defined in: prefab/validate.ts:177