Preflight: validates Maya and Substance assets and hands them to Unreal Engine 5 with a versioned manifest. Grew out of my 2024 student pipeline scripts. https://janferber.com
Find a file
Jan-135 14c5a9d18d Add Maya panel and Unreal importer
- Maya: scene snapshot (OpenMaya n-gon count, per-face materials),
  undoable fixes, FBX export with fixed settings, dockable PySide panel
- Unreal: master material built once with generated default textures,
  per-channel texture settings, material instances per texture set,
  in-place re-import of new versions, editor menu entry
- Core: writePackage writes the manifest last and cleans up on failure;
  panel logic and material wiring are kept testable outside the DCCs
- Demo asset with deliberate mistakes and a Windows test checklist

Maya and Unreal layers are not yet tested in the applications.
2026-12-05 14:08:50 +01:00
docs Add Maya panel and Unreal importer 2026-12-05 14:08:50 +01:00
integrations Add Maya panel and Unreal importer 2026-12-05 14:08:50 +01:00
legacy Move 2024 student scripts to legacy/ 2026-12-05 14:01:18 +01:00
preflight Add Maya panel and Unreal importer 2026-12-05 14:08:50 +01:00
tests Add Maya panel and Unreal importer 2026-12-05 14:08:50 +01:00
.gitignore Add Preflight core: checks, manifest and telemetry 2026-12-05 14:01:36 +01:00
pyproject.toml Add Preflight core: checks, manifest and telemetry 2026-12-05 14:01:36 +01:00
README.md Add Maya panel and Unreal importer 2026-12-05 14:08:50 +01:00
uv.lock Add Preflight core: checks, manifest and telemetry 2026-12-05 14:01:36 +01:00

Preflight

Status: in development. The core and its tests are done, and the Maya panel and Unreal importer are written. They are not yet tested inside Maya and Unreal (checklist). The Substance Painter export is next.

Preflight takes an asset from Maya and Substance Painter to Unreal Engine 5 without the hand-work:

  1. Check: naming, frozen transforms, history, scene units, pivot, n-gons, triangle budget, UV sets, materials, and the Substance texture sets (complete, correctly named, sensible resolution).
  2. Fix: one click for the safe problems.
  3. Export: a versioned package (SM_Crate/v003/) with the mesh, textures and a manifest.json.
  4. Import: Unreal reads the manifest, sets texture compression and sRGB per channel, and builds a material instance of a shared master material.
  5. Learn: every run is logged, so preflight-report shows tech art which checks artists hit most.

See docs/DESIGN.md for the problem, the architecture and the plan.

Run the tests

uv run --python 3.11 --group dev pytest

Python 3.11 matches the interpreter inside Maya 2025+ and Unreal Engine 5.4+.

Project rules

Everything a team might disagree on lives in preflight/config/default.toml: naming patterns, triangle budgets, texture channels and their compression, and the telemetry location. Point PREFLIGHT_CONFIG at a copy to use different rules per project.

History

Preflight grew out of the animation and material hand-off scripts I wrote in 2024 for a student short film in Unreal Engine 5. They are kept unchanged in legacy/ (tag v0-student-2024).

License

MIT