/unity-dev:unity-3d-modelsfrom unity-dev
Imports and optimizes 3D models (GLB/FBX) into Unity: decimation, triangle/texture budgets, LOD setup, culling, and performance auditing.
Ships in unity-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Whatever made the model, it ends the same way: a file in Assets/Models/<Class>/<Name>/, a
prefab whose Model child holds it, an audit that read it against its class's row, and one
record in the project's ledger. What differs is the route there.
| The situation | Read |
|---|---|
| "I have a 3D model to add": a model file to bring in (route by source below); it's huge; decimation; glTFast setup | reference/import-and-decimate.md |
| Which class a model is; its pivot, collision, LODs and prefab name | reference/asset-classes.md |
| What a class may cost; a triangle or texture budget; the preset ladder; a table in the 3D chapter | reference/budgets.md |
| A character's game mesh: regenerate at the preset, or retopology and a rebake, before rigging | blender-character-rig → reference/game-mesh.md (game-assets plugin) |
| Checking a folder of imported models against its class | reference/model-audit.md |
| Generate the mesh on a self-hosted ComfyUI at the class's preset, so no decimation pass is needed | skill comfyui-asset-generation |
| A generated mesh's texture is dull, blotchy or off the concept art; repaint it, mesh and UVs kept | skill mesh-texture-paint |
| Lighter levels will not decimate (spikes, a floor far above the target), a hidden inner body, a prop in shards, blotchy normals | reference/import-and-decimate.md (three faults) |
| A level vanished on one quality tier; the importer made a LODGroup nobody asked for | reference/asset-classes.md (LOD names) |
| "Shows in Scene, invisible in Game"; culling masks; layers | reference/culling-and-layers.md |
| Distant surfaces shimmer or look blurry; aniso; MSAA | reference/texture-filtering.md |
| "3D assets make the game lag"; the game lags/stutters with 3D assets; draw calls; the order to fix it in | reference/performance-budget.md |
| Numbers for the lag before touching a mesh: triangle and draw-call counters, a before/after window | skill unity-profiling |
| A class's frame time on the phone itself | skill unity-device-testing |
| Textures and meshes are bloating memory or the build | skill unity-android-release, its size-and-stripping reference |
| A rigged, animated character rather than a prop; Humanoid or Generic rig import | skill unity-rigged-character, or skill blender-character-rig for chibi proportions, extra parts or a custom action |
| Clips retargeted onto a character already rigged in Blender | skill blender-retarget |
| Recording a model, its source and licence; a purchased pack's vendor files | skill art-asset-registry |
The ## 3D chapter of the art bible | skill codex-visual |
| 2D sprite sheets, slicing, pivots, 9-slice borders | skill unity-2d-sprites |
| Verifying any of it visually | skill unity-debug |
Two hard truths this skill exists for:
.glb natively — you need the glTFast package. glTFast does
not go through Unity's Model Importer and has no Rig tab; Editor-side Humanoid goes through
FBX.target_tris a person picked for the class, reference/budgets.md. Always inspect first,
then decimate what is over the target. The exception is a check, not an assumption: a GLB
that inspects within its target and carries baked normal and occlusion maps is not
simplified again — the maps are baked from the dense mesh onto this exact surface, and
simplifying breaks that correspondence. A mesh generated at a face target that is still over
is regenerated at a lower target, not simplified.| The model came from | Route | Read |
|---|---|---|
ComfyUI or an image-to-3D service: a .glb prop | Inspect, decimate to the target unless generated at it, stage, glTFast, prefab | reference/import-and-decimate.md |
| A generated character for the ship track | The game mesh at the budget before rigging, then rig once | blender-character-rig → reference/game-mesh.md; the whole route: skill game-character-pipeline |
| An FBX character for a Humanoid Avatar | The Unity side: importer, Avatar, Animator, gameplay rig | skill unity-rigged-character |
| Built in Blender: a rig, a prop on a bone, a custom action | Build and export the FBX there, then audit it here | skill blender-character-rig; many stock clips onto one rig: skill blender-retarget |
| A purchased or third-party pack | Licence and vendor files first, then the same import | skill art-asset-registry |
Every route ends in the same two steps: the audit of the class folder, then the ledger record.
Each model belongs to a class. The defaults are pickup, obstacle, env-prop, hero-prop, character
and rigged-prop; a project declares its own in the ## 3D chapter of ART_DIRECTION.md (skill
codex-visual, its art-direction schema), in two tables: 3D asset classes (the intent, written
by a person) and 3D budgets (the pick, approved by a person).
| Need | Read |
|---|---|
| Pivot, scale, collision, LODs, names and the prefab per class | reference/asset-classes.md |
| The preset ladder, every column of both tables, the default rows, gltf-transform or Blender | reference/budgets.md |
The baseline is the showcase — the best the project can make, per class — and the rungs are the generation presets below it: the same asset generated at each, placed unrigged in the real game scene with the class's instance count, screenshotted side by side under the game camera and timed with a frame window. A person picks the rung, biased to quality, and writes the row. Until a class has a row with a date every tool reports its counts and fails nothing.
Tools/Unity Dev/3D Models/Audit Folder (resources/Editor/ModelAudit.cs, read-only) reads
every model in one class folder — triangles, materials, texture sizes,
ModelImporter.animationType, bones, clips and the import settings that matter — and logs one
[MODEL-AUDIT] JSON line. It takes the class's row as numbers, 0 for an unchecked cell: over a
ceiling or a max_* fails, over target × 1.25 warns. One call per class folder after every
import and before a build; the call, its arguments and the report are
reference/model-audit.md.
The ledger, ArtDirection/assets.jsonl, holds what exists, where it came from, its hashes and
its audit — skill art-asset-registry. The audit's rows and inspect_glb.py's output each carry
a record the registry ingests unchanged (art-asset-registry → reference/ingest.md).
| Step | What decides it | Read |
|---|---|---|
| 1 · Inspect | How dense is it, against the class's target? AI image-to-3D output is routinely 1M+ triangles and 40 MB | reference/import-and-decimate.md |
| 2 · Decimate + shrink textures | This is the whole win, when step 1 says it runs. gltf-transform simplify before Unity ever sees the file; a mesh to be skinned is brought to budget in Blender before rigging | reference/import-and-decimate.md |
| 3 · Stage + import | Unity 6 has no native GLB importer — glTFast, a UPM dependency you must add | reference/import-and-decimate.md |
| 4 · Wire into a prefab | An Editor script: re-runnable, layer-aware | reference/import-and-decimate.md |
| 5 · Audit + record | The class's row; then the ledger | reference/model-audit.md |
| 6 · It's invisible in Game view | Almost always layer/culling, not the mesh | reference/culling-and-layers.md |
| 7 · It looks cheap at distance | Filtering defaults, not model quality | reference/texture-filtering.md |
| 8 · It runs badly | Measure it first (unity-profiling), then the order to attack it in | reference/performance-budget.md |
Props are imported here and every class is audited here, characters included. A character's
Avatar, Animator and gameplay rig are unity-rigged-character — glTFast does not go through
Unity's Model Importer and has no Rig tab; Editor-side Humanoid goes through FBX — or
blender-character-rig when the rig and the action are authored in Blender. Driving the Editor
is unity-cli and unity-debug; build-wide stripping is unity-android-release and
unity-web-release. Modular-kit conventions — the grid, pivots, snapping — are unity-3d-level;
LOD groups and scene-level draw cost are unity-scene-optimisation.
Decimate before Unity sees the file. AI image-to-3D output is photogrammetry-dense. Importing first and optimising later means every downstream asset — prefabs, colliders, lightmap UVs — is rebuilt from the wrong mesh. Inspect decides whether it runs (step 1). A mesh that will be skinned is decimated before it is rigged: decimating a rigged mesh breaks its weights and UVs.
Read/Write Enabled off on every mesh and texture nothing reads back. It keeps a second, CPU-side copy resident for the asset's lifetime. Combine with Strip Unused Mesh Components — details in
unity-android-release, its size-and-stripping reference.
isReadabledefaults tofalseon bothTextureImporterandModelImporter. So this is a keep it off rule, not a turn it off one — the cost appears when someone enables it for one script and never reverts it. Audit rather than assume.
Anisotropic filtering defaults to 1 — an imported texture reads anisoLevel = 1,
mipmapEnabled = true, filterMode = Bilinear. That combination is what makes a ground plane
shimmer into mush at grazing angles, and it is the default on every texture in the project.
→ reference/texture-filtering.md
For textures loaded at runtime through Addressables or AssetBundles — and only those — KTX2 /
Basis Universal ships one file that transcodes to the device's best GPU format (ASTC on
mobile, BC7 on desktop, ETC2 on older Android). Encode offline with toktx: --genmipmap,
--assign_oetf linear for normal/mask/data maps, and --lower_left_maps_to_s0t0 to match
Unity's UV origin. ETC1S for albedo (small), UASTC for normals and UI (quality). Confirm the
project can transcode KTX2 at runtime — Unity reads it through the KTX for Unity package
(com.unity.cloud.ktx) — before encoding a whole texture set. Textures that
go into the player build do not need this — Unity already picks a format at build time.
reference/asset-classes.md (opens in a new tab)reference/budgets.md (opens in a new tab)reference/culling-and-layers.md (opens in a new tab)reference/import-and-decimate.md (opens in a new tab)reference/model-audit.md (opens in a new tab)reference/performance-budget.md (opens in a new tab)reference/texture-filtering.md (opens in a new tab)resources/Editor/ModelAudit.cs (opens in a new tab)resources/Editor/ModelImportPolicy.cs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub tipoli5890/game-studio --plugin unity-dev51 skills in this plugin
/unity-2d-animationSkeletal 2D characters: PSB rig, bones and weights, sprite swaps, 2D IK (2D Animation package)./unity-2d-controllerMove a 2D character: platformer jump, slopes, coyote time, moving platforms, top-down movement./unity-2d-gridGrid tactics and tile puzzles, hex or square: move range, A* paths, line of sight, turns, undo./unity-2d-level2D level layout as data: Tiled/LDtk import, rooms, endless chunks, seeded levels, jump reachability.