Diagnostic code · ARA1402
Recursive prefab dependency
Prefab expansion reached a prefab already on its expansion stack. The recursive branch is not expanded and validation reports an error instead of recursing indefinitely.
Common causes
- A prefab contains an instance of itself.
- Several prefabs instantiate each other in a loop.
Fixes
Break the dependency by removing or replacing one of the nested instances; use
entity.deletefor a loaded unwanted instance.Run
ara checkacross the project to verify the entire prefab dependency chain.Code:
ARA1402Constant:
PREFAB_CYCLEReported by: ara-doc