Import a Unity Asset Store package
asset_import_unityConvert a Unity package's models, textures, and materials into self-contained GLBs plus import-report.json; accepts .unitypackage, UPM tarball, or project folder.
Instructions
Convert models (FBX, OBJ, .blend), textures and materials of a Unity package the user owns into self-contained GLBs plus import-report.json. Accepts a .unitypackage, a UPM tarball or a project folder, applies each model's import scale, binds FBX material slots to .mat files (externalObjects, then by name) and maps Standard, URP Lit/SimpleLit/ComplexLit and HDRP Lit to glTF PBR; other shaders fall back to their saved colour and texture and are reported. Needs Blender: THREENATIVE_BLENDER, PATH, or a pinned download (disable with THREENATIVE_TOOLCHAIN_AUTOINSTALL=0). Requires acceptUnityAssetStoreEula: true. It never contacts or signs in to Unity.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>",
"outputDir": "<outputDir>",
"acceptUnityAssetStoreEula": "<acceptUnityAssetStoreEula>"
},
"name": "asset_import_unity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assets | No | Import only these models and prefabs: a project path (Assets/Models/crate.fbx), a file name or a name without extension. Omit to convert every FBX, OBJ and .blend model and import every prefab. Models a selected prefab uses are converted too. | |
| source | Yes | A .unitypackage, a UPM package tarball (.tgz) or a Unity project folder on this machine. unity_list_packages lists the Unity Editor's cached downloads. | |
| license | No | ||
| outputDir | Yes | Directory the GLBs, textures and import-report.json are written to. It must be new or empty: this tool never overwrites an import. | |
| projectRoot | No | ||
| maxTextureSize | No | Optional longest edge for written textures. Leave unset to keep the source resolution. | |
| allowNonCommercial | No | ||
| acceptUnityAssetStoreEula | Yes | Required acknowledgement that the user owns the package, accepts the Unity Asset Store EULA for it, and has checked any Restricted Asset terms. The tool cannot check them: Asset Store terms forbid automated access. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counts | Yes | ||
| failed | Yes | ||
| models | Yes | ||
| blender | Yes | ||
| prefabs | Yes | ||
| skipped | Yes | ||
| textures | Yes | ||
| warnings | Yes | ||
| materials | Yes | ||
| outputDir | Yes | ||
| durationMs | Yes | ||
| reportPath | Yes | ||
| licenseFiles | Yes | ||
| materialAssets | Yes | ||
| importerVersion | Yes |