| name | unity-fbx-import |
| description | Ensures full FBX URLs are always used when importing external 3D models into Unity via Unity MCP. Use when importing FBX files, 3D models, external assets, or when user mentions import, add model, load FBX, or bring in 3D assets. Prevents path resolution issues by requiring complete URLs. |
Unity FBX Import with Full URLs
This skill ensures that when importing external 3D models (FBX files) into Unity using the Unity MCP import_external_model tool, full and complete URLs are always provided, preventing import failures due to incomplete paths.
When to use this skill
Use this skill automatically whenever:
- Importing FBX files from external sources
- Adding 3D models to the Unity project
- Loading assets from URLs or file paths
- User mentions: "import model", "add FBX", "load 3D asset", "bring in model"
- Using the
import_external_model tool from Unity MCP
Core principle
ALWAYS use complete, fully-qualified URLs for FBX files.
Never use relative paths, partial URLs, or assume path completion. The fbx_url parameter must be a complete URL or absolute file path.
Instructions
Step 1: Identify the FBX source
When a user requests to import a model, determine the source:
-
Remote URL (HTTP/HTTPS):
- Must start with
http:// or https://
- Must include the full domain and path
- Filename must end with
.fbx or .zip
- IMPORTANT: Include ALL query parameters and tokens after the extension
- Query parameters (like
?param=value&other=data) are required for authentication
- Example:
https://example.com/models/character.fbx?token=abc123&auth=xyz
- Example:
https://cdn.fbcdn.net/path/file.fbx?_nc_gid=xxx&_nc_oc=yyy&oh=zzz
-
Local file (file system):
- Must be an absolute path (not relative)
- Windows:
C:/Users/name/Downloads/model.fbx
- Unix/Mac:
/home/user/models/model.fbx
- Must end with
.fbx or .zip
-
ZIP archive:
- Can be URL or local path
- Must contain an FBX file inside
- Example:
https://example.com/assets.zip
Step 2: Validate the URL format
Before calling import_external_model, verify the URL:
CRITICAL: For URLs with query parameters (like ?token=...&auth=...), you MUST include the ENTIRE URL including all parameters. Query parameters often contain authentication tokens required for download.
✅ Valid examples:
https://cdn.example.com/assets/models/chair.fbx
https://cdn.example.com/models/chair.fbx?token=abc123&auth=xyz789 (with query params)
https://scontent.fbcdn.net/model.fbx?_nc_gid=xxx&_nc_oc=yyy&oh=zzz (Meta CDN with auth)
http://localhost:8000/models/character.fbx
file:///C:/Users/name/Downloads/robot.fbx
C:/Projects/Models/tree.fbx (Windows absolute)
/home/user/assets/car.fbx (Unix absolute)
https://github.com/user/repo/releases/download/v1.0/model.zip
❌ Invalid examples (never use these):
models/chair.fbx (relative path)
~/Downloads/robot.fbx (tilde expansion not supported)
example.com/model.fbx (missing protocol)
../assets/model.fbx (relative path)
model.fbx (no path at all)
Step 3: Get required parameters
The import_external_model tool requires:
-
name (required):
- Simple identifier (single word, no spaces)
- Use alphanumeric characters and underscores/hyphens
- Example:
office_chair, character_01, tree_oak
-
fbx_url (required):
- MUST be a complete, full URL or absolute path
- No relative paths allowed
- Include protocol for remote URLs (
http://, https://)
-
height (required):
- Desired height in Unity units (meters)
- Reasonable values: 0.1 to 10.0 for most objects
- Example: 1.8 for human-sized character, 2.0 for chair
-
albedo_texture_url (optional):
- Full URL to texture file (same rules as fbx_url)
- Can be local file or remote URL
- Common formats:
.png, .jpg, .jpeg
Step 4: Call import_external_model with full URL
Use the Unity MCP tool with complete parameters:
{
"Name": "office_chair",
"FbxUrl": "https://example.com/models/office_chair.fbx",
"Height": 1.0,
"AlbedoTextureUrl": "https://example.com/textures/chair_diffuse.png"
}
Never omit the protocol or use partial paths:
❌ Wrong:
{
"Name": "chair",
"FbxUrl": "models/chair.fbx",
"Height": 1.0
}
✅ Correct:
{
"Name": "chair",
"FbxUrl": "C:/Projects/Assets/models/chair.fbx",
"Height": 1.0
}
Step 5: Handle the import result
After calling import_external_model:
-
Check for success:
- Tool returns
success: true if import succeeded
- Result includes GameObject and Prefab information
- Note the bounds (size and center) for placement
-
Extract important data:
- GameObject instance ID and name
- Prefab path for reuse
- World size and center (for placement operations)
-
Report to user:
- Confirm successful import
- Show the GameObject name and prefab path
- Mention the size and position
- Suggest next steps (placement, scaling, etc.)
Step 6: Use with unity-placement skill
After importing, use the bounds information with the unity-placement skill for proper positioning:
The imported model has:
- Size: [width, height, depth]
- Center: [x, y, z]
- Prefab: Assets/Prefabs/name.prefab
Consider the size when placing relative to other objects.
Common scenarios
Scenario 1: Import from remote URL
User: "Import this model: https://cdn.example.com/models/robot.fbx"
{
"Name": "robot_character",
"FbxUrl": "https://cdn.example.com/models/robot.fbx",
"Height": 1.8
}
Scenario 2: Import from local file
User: "Add the chair model from C:/Downloads/chair.fbx"
{
"Name": "office_chair",
"FbxUrl": "C:/Downloads/chair.fbx",
"Height": 0.9
}
Scenario 3: Import from ZIP archive
User: "Import the model pack from https://assets.example.com/furniture.zip"
{
"Name": "furniture_set",
"FbxUrl": "https://assets.example.com/furniture.zip",
"Height": 1.5
}
Scenario 4: Import with texture
User: "Load model.fbx with texture.png, both from my Downloads folder"
{
"Name": "textured_model",
"FbxUrl": "C:/Users/YourName/Downloads/model.fbx",
"Height": 2.0,
"AlbedoTextureUrl": "C:/Users/YourName/Downloads/texture.png"
}
Handling user-provided paths
If user provides a partial path
When the user gives an incomplete path, ask for the complete path:
User: "Import models/car.fbx"
❌ Don't assume:
{
"FbxUrl": "models/car.fbx"
}
✅ Ask for clarification:
"I need the complete path to the FBX file. Is it:
What is the full path to car.fbx?"
If user provides a URL without protocol
User: "Import from example.com/models/chair.fbx"
✅ Clarify the protocol:
"Should this be:
Which protocol should I use?"
If user provides a relative path
User: "Import ../models/tree.fbx"
✅ Request absolute path:
"Relative paths aren't supported. Please provide the absolute path to tree.fbx.
For example:
- Windows: C:/Projects/models/tree.fbx
- Mac/Linux: /home/user/projects/models/tree.fbx
What is the full path?"
Best practices
- Always verify URL format before calling
import_external_model
- Never assume paths - always use what's explicitly provided or ask for clarification
- Prefer absolute paths over any form of relative path
- Include protocol for all remote URLs (http://, https://)
- Validate file extension - must be .fbx or .zip
- Use simple names - alphanumeric with underscores/hyphens only
- Set reasonable heights - 0.1 to 10.0 for most objects
- Check import results - verify success and extract bounds data
- Coordinate with unity-placement - use bounds for subsequent positioning
Error prevention checklist
Before calling import_external_model, verify:
Quick reference
Required format for fbx_url
| Source Type | Format | Example |
|---|
| Remote HTTPS | https://domain/path/file.fbx | https://cdn.example.com/models/chair.fbx |
| Remote HTTP | http://domain/path/file.fbx | http://localhost:8000/model.fbx |
| Local Windows | C:/path/to/file.fbx | C:/Users/name/Downloads/robot.fbx |
| Local Mac/Linux | /path/to/file.fbx | /home/user/models/tree.fbx |
| ZIP archive | Same as above with .zip | https://example.com/pack.zip |
Common mistakes to avoid
❌ Relative paths: models/file.fbx, ./file.fbx, ../file.fbx
❌ Missing protocol: example.com/file.fbx
❌ Tilde expansion: ~/Downloads/file.fbx
❌ Spaces in name: "my model" (use "my_model")
❌ Partial URLs: /models/file.fbx (without domain)
Integration with other skills
With unity-placement
After importing, use the returned bounds with unity-placement:
Imported model "robot_character":
- Size: [0.6, 1.8, 0.4]
- Center: [0, 0.9, 0]
- Prefab: Assets/Prefabs/robot_character.prefab
To place this robot on the platform:
[Use unity-placement skill with the size data]
With meta-assets-search
When using Meta's asset search tool:
Found model in Meta library:
- FBX URL: https://cdn.meta.com/assets/3d/chair_01.fbx
- GLB URL: https://cdn.meta.com/assets/3d/chair_01.glb
Using FBX URL for import...
Remember
The Unity MCP import_external_model tool requires complete, absolute URLs or paths. When in doubt:
- ✅ Ask the user for the complete path
- ✅ Verify the URL format before calling the tool
- ✅ Include the protocol for remote URLs
- ✅ Use absolute paths for local files
- ❌ Never guess or auto-complete partial paths
- ❌ Never use relative paths or tilde expansion
Goal: Prevent import failures by ensuring every fbx_url parameter is a valid, complete, fully-qualified URL or absolute file path.