Import meshes, textures and animation into Unreal by script: AssetImportTask, Interchange pipelines, glTF and FBX options, static or skeletal mesh, budget check.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Unreal Asset Import?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tipoli5890-unreal-asset-import)
---
name: unreal-asset-import
description: >-
Import meshes, textures and animation into Unreal by script: AssetImportTask, Interchange
pipelines, glTF and FBX options, static or skeletal mesh, budget check.
---
# unreal-asset-import — files in, assets out, by script
The asset side hands over checked files; an editor Python script imports them with fixed options,
so the same input always gives the same assets. A plan written first, with no engine, says what
each file is, where it lands and whether it fits its budget; the editor script follows the plan
and checks every result before it says done.
## Load what the situation needs
| The situation | Read |
|---|---|
| "Import these models", a folder of `.glb` / `.fbx` from the asset side | *The method* below |
| Is this prop inside its class's budget: triangles, materials, texture side, bones, MB | `reference/budget-check.md`, `scripts/import_plan.py` |
| `AssetImportTask`, `import_asset_tasks`, what to check after an import | `reference/asset-import-task.md` |
| glTF through Interchange; pipelines; whether FBX goes through it | `reference/interchange.md` |
| FBX options: static, skeletal, clips onto a skeleton; type detection; units | `reference/fbx-options.md` |
| Static props from a plan | `templates/import_static_meshes.py` |
| A rigged character and its clips from a plan | `templates/import_skeletal_mesh.py` |
| The character after import: IK Rig, retargeting, sockets | `unreal-rigged-character` |
| Running an editor script headless | `unreal-editor-python` |
| The default budget rows and how a row is picked | `comfyui-asset-generation` (`game-assets` plugin) → `reference/budgets.md` |
## What arrives from the asset side
| Artefact | Producer | Here |
|---|---|---|
| A GLB prop, with its inspect JSON against the class's row | `comfyui-asset-generation` | `static`, through Interchange |
| A rigged character's FBX for this engine, with `<stem>.unreal.skeleton.json` (`skeleton/1`) beside it | `blender-retarget` (`game-assets` plugin), `character-autorig` (`game-assets` plugin) | `skeletal`, through `AssetImportTask` |
| Clips baked onto that character's deform skeleton | `blender-retarget` | `animation` onto the character's skeleton, or carried in the character's FBX, one take per action (`reference/fbx-options.md` §3) |
How each file was made and what it promises: `blender-retarget` → `reference/engine-handoff.md`.
The 2D artefacts (`frames/1` frame sets, `rig2d/1` layered characters) have no receiver in
`unreal-dev`.
## The method
1. **Plan and audit, no engine.**
```bash
python3 scripts/import_plan.py Art/props/ --dest /Game/CourierRun/Props \
--budgets ART_DIRECTION.md --class pickup --out ImportPlans/props.plan.json
python3 scripts/import_plan.py Art/courier/ --dest /Game/CourierRun/Characters \
--max-bones 90 --out ImportPlans/courier.plan.json
```
A glTF is read in full (triangles, materials, texture sides, joints, clips, megabytes); an FBX's
kind comes from its `skeleton/1` file and its counts from a GLB of the same stem. Fix every
`FAIL` line before the next step: the editor scripts refuse a plan that did not pass.
2. **Set the plan path** at the top of the template you copy (`PLAN = ...`) and the options there
(`REPLACE`, `PIPELINES`, `PHYSICS`, `MORPHS`).
3. **Run it in the editor**, headless through the runner of `unreal-editor-python` or from File >
Execute Python Script. Static props first, then the character, then clips onto its skeleton
(`import_skeletal_mesh.py` orders meshes before clips by itself).
4. **Read the run**: one `UNREAL_DEV_DONE` line, no `Error` line. Each item is checked: the right
asset class came out, a skeletal mesh and every clip sit on the skeleton the plan named, no
deform bone of the `skeleton/1` file went missing, and each static mesh's LOD 0 triangles are
logged beside the source count.
5. **Look once.** The first prop of a class and the first character: open them, check the height
(a 1.8 m courier is about 180 units) and the facing, before the rest of the folder.
## The verdicts
| `import_plan.py` exit | Means |
|---|---|
| 0 | every source planned and inside every gate given (a report-only row gates nothing) |
| 2 | a gate failed (an unknown count fails a gate set on it), a source that does not parse, an FBX of unknown kind, an animation without `--skeleton`, two sources with one name |
| 3 | a source path missing, no model found |
| 1 | a bad flag, a `--dest` outside `/Game/`, a budgets file that breaks the reading rules |
The editor scripts end with `UNREAL_DEV_DONE <tool> ...` or `UNREAL_DEV_FAIL <tool> <reason>`,
log one line per imported asset, and write `{tool, imported, failed}` to the runner's
`UNREAL_DEV_OUT` file.
## Traps
- **An empty result is a failed import.** `import_asset_tasks` and `import_asset` raise nothing
useful for a refused file; both templates check what came out.
- **FBX may go through Interchange.** Read `Interchange.FeatureFlags.Import.FBX` in the engine in
use; the template logs the route, so the log says which options applied.
- **`override_pipelines` takes pipeline asset paths**, not pipeline objects: keep a pipeline asset
in the project for per-class settings.
- **Turn type detection off** (`automated_import_should_detect_type`) and say static, skeletal or
animation; never let the file decide.
- **One skeleton per rig.** Import the body once; every later file of that rig names its skeleton.
- **`automated` and `save`.** Without the first a dialog waits forever in a headless run; without
the second the asset is gone when the editor closes.
- **Counts are the source's.** The engine's LOD and Nanite settings decide what a frame draws;
the template logs the imported LOD 0 count beside the plan's.
## Related skills
- `unreal-rigged-character` → `reference/role-map-to-ik-rig.md`: the skeleton after import, IK Rig, IK Retargeter, sockets
- `unreal-editor-python` → `reference/headless-runs.md`: the headless editor run, its sentinel and its output file
- `unreal-animation` → `reference/montages.md`: the imported clips in montages, root motion
- `unreal-packaging` → `reference/cooking.md`: what of the imported content gets cooked
- `comfyui-asset-generation` → `reference/budgets.md`: the budget rows and the preset ladder
- `blender-retarget` → `reference/engine-handoff.md`: the character file, the role map and the clips