Diagnostic code · ARA1406
Entity is not a prefab instance
A prefab-only operation or nested entity address was used on a plain record. The command is rejected. A plain record carrying overrides or removed also fails document validation.
Common causes
prefab.override.setorprefab.override.reverttargeted an ordinary entity.- A slash-separated address starts with an entity that has no prefab reference.
- Prefab-only fields were left on a plain record.
Fixes
Use
ara do property.setfor an ordinary entity, or target an actual instance created withprefab.instantiate.Run
ara check --fix <file>to removeoverridesorremovedwhen the diagnostic offers that repair for a plain record.Code:
ARA1406Constant:
NOT_AN_INSTANCEReported by: ara-doc, ara-cmd