PrefabDiagnostic
Defined in: prefab/validate.ts:174
One structured problem found in a prefab asset.
Properties
Section titled “Properties”code:
string
Defined in: prefab/validate.ts:176
Stable machine code (kebab-case), e.g. duplicate-id, parent-cycle.
entityId?
Section titled “entityId?”
optionalentityId?:string
Defined in: prefab/validate.ts:181
The entity the problem is on, when applicable.
field?
Section titled “field?”
optionalfield?:string
Defined in: prefab/validate.ts:183
The component type / Comp.field / metadata key involved, when applicable.
message
Section titled “message”message:
string
Defined in: prefab/validate.ts:179
One-line human-readable explanation.
severity
Section titled “severity”severity:
PrefabDiagnosticSeverity
Defined in: prefab/validate.ts:177