ZazuLabs.Arcana.Editor.Validation¶
ArcanaValidator¶
Checks the project for broken Arcana data: unknown tags and attributes in any ScriptableObject or prefab, effects that cannot build, cue tags without a cue, abilities with odd costs, missing settings. Window: Tools → Arcana → Validate Project. Command line: ValidateFromCommandLine.
| Member | Description |
|---|---|
Run(bool) |
Runs every check on assets under folders (default: Assets). |
ValidateFromCommandLine() |
For CI: Unity -batchmode -quit -projectPath . -executeMethod ZazuLabs.Arcana.Editor.Validation.ArcanaValidator.ValidateFromCommandLine. Logs every issue and exits with 1 if any is an error. |
IssueSeverity¶
Severity of a validation issue.
| Member | Description |
|---|---|
Error |
Broken: fails at runtime or is ignored. |
Warning |
Works, but probably not as intended. |
ValidationIssue¶
A problem found by ArcanaValidator, on an asset or a prefab.
| Member | Description |
|---|---|
ToString() |
|
Context |
Asset or prefab with the problem; null for project-wide issues. |
Location |
Field path or setting, e.g. _grantedTags. |
Message |
What is wrong and how to fix it. |
Severity |
Error or warning. |