# markiz2391/ue-asset-validator architecture

> Architecture diagram of the GitHub repository markiz2391/ue-asset-validator, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/markiz2391/ue-asset-validator
- Repository: https://github.com/markiz2391/ue-asset-validator

## Overview

UE Asset Validator is an Unreal Editor content-auditing tool. The user selects a Content Browser folder, chooses a check tab, and validates assets; results can then be filtered, fixed or renamed, reverted where supported, and exported as CSV/HTML. Python bridges the Editor Utility Widget to a registry-driven runner, which loads rules, collects assets, and dispatches fast Asset Registry checks and deeper loaded-asset checks. The README documents the widget bridge and additional capabilities; source excerpts show runner and check behavior, but not Blueprint internals.

Main entry points: [`Content/Python/asset_validator/runner.py`](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/runner.py) (Validation Runner), [`Content/Python/asset_validator/api.py`](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/api.py) (Python Bridge), [`Content/Python/asset_validator/core.py`](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/core.py) (Check Registry), [`Content/Tools/AssetValidator/EUW_AssetValidator.uasset`](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Tools/AssetValidator/EUW_AssetValidator.uasset) (Validator Widget)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Editor Interface"]
  node_widget["Validator Widget"]
  node_issue_row["Issue Row"]
  node_bridge["Python Bridge<br/>[api.py]"]
  node_issue_data["Issue Data<br/>[FAV_Issue.uasset]"]
  node_stats_data["Stats Data<br/>[FAV_Stats.uasset]"]
end

subgraph group_orchestration["Validation Orchestration"]
  node_runner["Validation Runner<br/>[runner.py]"]
  node_core["Check Registry<br/>[core.py]"]
end

subgraph group_checks["Domain Checks"]
  node_naming["Naming Checks<br/>[naming.py]"]
  node_textures["Texture Checks<br/>[textures.py]"]
  node_meshes["Mesh Checks<br/>[meshes.py]"]
  node_materials["Material Checks<br/>[materials.py]"]
  node_texel_density["Texel Density<br/>[texel_density.py]"]
end

subgraph group_configuration["Rules and Reports"]
  node_config["Rules Loader<br/>[config.py]"]
  node_rules["Rule Defaults<br/>[rules.json]"]
  node_report["Report Exporter<br/>[report.py]"]
  node_report_files["CSV / HTML Reports"]
end

node_user(("Editor User"))
node_asset_registry[("Asset Registry")]
node_editor_assets["Editor Asset Services"]

node_user -->|"operates"| node_widget
node_widget -->|"calls Python"| node_bridge
node_bridge -->|"dispatches"| node_runner
node_bridge -->|"exports via"| node_report
node_bridge -->|"reads widget"| node_widget
node_bridge -->|"returns JSON"| node_issue_data
node_bridge -.->|"returns stats"| node_stats_data
node_widget -.->|"shows issues"| node_issue_row
node_runner -->|"collects assets"| node_asset_registry
node_runner -->|"loads and edits"| node_editor_assets
node_runner -->|"loads rules"| node_config
node_runner -->|"reads registry"| node_core
node_runner -->|"runs checks"| node_naming
node_runner -->|"runs checks"| node_textures
node_runner -->|"runs checks"| node_meshes
node_runner -->|"runs checks"| node_materials
node_runner -->|"runs checks"| node_texel_density
node_naming -->|"creates issues"| node_core
node_textures -->|"creates issues"| node_core
node_meshes -->|"creates issues"| node_core
node_materials -->|"creates issues"| node_core
node_texel_density -->|"creates issues"| node_core
node_config -->|"reads and writes"| node_rules
node_report -->|"reads results"| node_runner
node_report -->|"writes exports"| node_report_files

click node_widget "https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Tools/AssetValidator/EUW_AssetValidator.uasset"
click node_issue_row "https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Tools/AssetValidator/EUW_AV_IssueRow.uasset"
click node_bridge "https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/api.py"
click node_issue_data "https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Tools/AssetValidator/FAV_Issue.uasset"
click node_stats_data "https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Tools/AssetValidator/FAV_Stats.uasset"
click node_runner "https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/runner.py"
click node_core "https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/core.py"
click node_naming "https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/checks/naming.py"
click node_textures "https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/checks/textures.py"
click node_meshes "https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/checks/meshes.py"
click node_materials "https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/checks/materials.py"
click node_texel_density "https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/checks/texel_density.py"
click node_config "https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/config.py"
click node_rules "https://github.com/markiz2391/ue-asset-validator/blob/main/Config/AssetValidator/rules.json"
click node_report "https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/report.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_widget,node_issue_row,node_bridge,node_issue_data,node_stats_data,node_user toneBlue
class node_runner,node_core,node_asset_registry toneAmber
class node_naming,node_textures,node_meshes,node_materials,node_texel_density toneMint
class node_config,node_rules,node_report,node_report_files toneRose
class node_editor_assets toneIndigo
```

## Components

### Editor Interface

- [Validator Widget](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Tools/AssetValidator/EUW_AssetValidator.uasset): `Content/Tools/AssetValidator/EUW_AssetValidator.uasset`
- [Issue Row](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Tools/AssetValidator/EUW_AV_IssueRow.uasset): `Content/Tools/AssetValidator/EUW_AV_IssueRow.uasset`
- [Python Bridge](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/api.py): `Content/Python/asset_validator/api.py`
- [Issue Data](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Tools/AssetValidator/FAV_Issue.uasset): `Content/Tools/AssetValidator/FAV_Issue.uasset`
- [Stats Data](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Tools/AssetValidator/FAV_Stats.uasset): `Content/Tools/AssetValidator/FAV_Stats.uasset`

### Validation Orchestration

- [Validation Runner](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/runner.py): `Content/Python/asset_validator/runner.py`
- [Check Registry](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/core.py): `Content/Python/asset_validator/core.py`

### Domain Checks

- [Naming Checks](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/checks/naming.py): `Content/Python/asset_validator/checks/naming.py`
- [Texture Checks](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/checks/textures.py): `Content/Python/asset_validator/checks/textures.py`
- [Mesh Checks](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/checks/meshes.py): `Content/Python/asset_validator/checks/meshes.py`
- [Material Checks](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/checks/materials.py): `Content/Python/asset_validator/checks/materials.py`
- [Texel Density](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/checks/texel_density.py): `Content/Python/asset_validator/checks/texel_density.py`

### Rules and Reports

- [Rules Loader](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/config.py): `Content/Python/asset_validator/config.py`
- [Rule Defaults](https://github.com/markiz2391/ue-asset-validator/blob/main/Config/AssetValidator/rules.json): `Config/AssetValidator/rules.json`
- [Report Exporter](https://github.com/markiz2391/ue-asset-validator/blob/main/Content/Python/asset_validator/report.py): `Content/Python/asset_validator/report.py`
- **CSV / HTML Reports**

### Other components

- **Editor User**
- **Asset Registry**
- **Editor Asset Services**

## Connections

- Editor User → Validator Widget: operates (evidence: `README.md`)
- Validator Widget → Python Bridge: calls Python (evidence: `README.md`)
- Python Bridge → Validation Runner: dispatches (evidence: `Content/Python/asset_validator/api.py`)
- Python Bridge → Report Exporter: exports via (evidence: `Content/Python/asset_validator/api.py`)
- Python Bridge → Validator Widget: reads widget (evidence: `Content/Python/asset_validator/api.py`)
- Python Bridge → Issue Data: returns JSON (evidence: `README.md`)
- Python Bridge → Stats Data: returns stats
- Validator Widget → Issue Row: shows issues
- Validation Runner → Asset Registry: collects assets (evidence: `Content/Python/asset_validator/runner.py`)
- Validation Runner → Editor Asset Services: loads and edits (evidence: `Content/Python/asset_validator/runner.py`)
- Validation Runner → Rules Loader: loads rules (evidence: `Content/Python/asset_validator/runner.py`)
- Validation Runner → Check Registry: reads registry (evidence: `Content/Python/asset_validator/runner.py`)
- Validation Runner → Naming Checks: runs checks (evidence: `Content/Python/asset_validator/runner.py`)
- Validation Runner → Texture Checks: runs checks (evidence: `Content/Python/asset_validator/runner.py`)
- Validation Runner → Mesh Checks: runs checks (evidence: `Content/Python/asset_validator/runner.py`)
- Validation Runner → Material Checks: runs checks (evidence: `Content/Python/asset_validator/runner.py`)
- Validation Runner → Texel Density: runs checks (evidence: `Content/Python/asset_validator/runner.py`)
- Naming Checks → Check Registry: creates issues (evidence: `Content/Python/asset_validator/checks/naming.py`)
- Texture Checks → Check Registry: creates issues (evidence: `Content/Python/asset_validator/checks/textures.py`)
- Mesh Checks → Check Registry: creates issues (evidence: `Content/Python/asset_validator/checks/meshes.py`)
- Material Checks → Check Registry: creates issues (evidence: `Content/Python/asset_validator/checks/materials.py`)
- Texel Density → Check Registry: creates issues (evidence: `Content/Python/asset_validator/checks/texel_density.py`)
- Rules Loader → Rule Defaults: reads and writes (evidence: `Content/Python/asset_validator/config.py`)
- Report Exporter → Validation Runner: reads results (evidence: `Content/Python/asset_validator/report.py`)
- Report Exporter → CSV / HTML Reports: writes exports (evidence: `Content/Python/asset_validator/report.py`)
