Logo: Hz Unity Fbx Import

Hz Unity Fbx Import

Organisatioun
meta-quest
hz-unity-fbx-import

Ensures complete FBX URLs or absolute paths are used when importing external 3D models into Unity projects targeting Meta Quest and Horizon OS. Use when adding FBX files, 3D models, or external assets.

Add to TypingMind

Iwwersiicht

Editeurmeta-quest
Repositoryagentic-tools
Skill-Nummhz-unity-fbx-import
Stären
195
Forks
17
Matgeliwwert Dateien
1
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    meta-quest huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Hz Unity Fbx Import an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/meta-quest/agentic-tools/tree/main/skills/hz-unity-fbx-import
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/meta-quest/agentic-tools.git /tmp/agentic-tools
mkdir -p .claude/skills
cp -r /tmp/agentic-tools/skills/hz-unity-fbx-import .claude/skills/hz-unity-fbx-import
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Hz Unity Fbx Import an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Hz Unity Fbx Import automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Hz Unity Fbx Import net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Unity FBX Import with Full URLs

This skill ensures that when importing external 3D models (FBX files) into Unity using the Unity MCP Unity_ImportExternalModel 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 Unity_ImportExternalModel 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 FbxUrl 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:

  1. 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
  2. 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
  3. 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 Unity_ImportExternalModel, 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 Unity_ImportExternalModel tool requires:

  1. Name (required):

    • Simple identifier (single word, no spaces)
    • Use alphanumeric characters and underscores/hyphens
    • Example: office_chair, character_01, tree_oak
  2. FbxUrl (required):

    • MUST be a complete, full URL or absolute path
    • No relative paths allowed
    • Include protocol for remote URLs (http://, https://)
  3. 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
  4. AlbedoTextureUrl (optional):

    • Full URL to texture file (same rules as FbxUrl)
    • Can be local file or remote URL
    • Common formats: .png, .jpg, .jpeg

Step 4: Call Unity_ImportExternalModel with full URL

Use the Unity MCP tool with complete parameters:

json
{
  "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.

Step 5: Handle the import result

After calling Unity_ImportExternalModel:

  1. Check for success:

    • Tool returns success: true if import succeeded
    • Result includes GameObject and Prefab information
    • Note the bounds (size and center) for placement
  2. Extract important data:

    • GameObject instance ID and name
    • Prefab path for reuse
    • World size and center (for placement operations)
  3. 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.

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"

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

  1. Always verify URL format before calling Unity_ImportExternalModel
  2. Never assume paths - always use what's explicitly provided or ask for clarification
  3. Prefer absolute paths over any form of relative path
  4. Include protocol for all remote URLs (http://, https://)
  5. Validate file extension - must be .fbx or .zip
  6. Use simple names - alphanumeric with underscores/hyphens only
  7. Set reasonable heights - 0.1 to 10.0 for most objects
  8. Check import results - verify success and extract bounds data
  9. Coordinate with unity-placement - use bounds for subsequent positioning

Error prevention checklist

Before calling Unity_ImportExternalModel, verify:

  • FbxUrl is a complete URL or absolute path
  • URL includes protocol if remote (http:// or https://)
  • ALL query parameters are included (everything after ? in the URL)
  • Path is absolute if local (starts with C:/ or /)
  • No relative path components (no ../ or ./)
  • No tilde expansion (no ~/)
  • Filename ends with .fbx or .zip (query params can follow)
  • Name parameter is a simple identifier (no spaces)
  • Height is a reasonable positive number
  • AlbedoTextureUrl (if provided) is also a full URL/path with all params

Fallback: When Unity_ImportExternalModel is unavailable

If Unity_ImportExternalModel is not available but other Unity MCP tools (like Unity_RunCommand) are working, there are two options.

Option A: Enable the tool in Unity

Tell the user:

"The Unity_ImportExternalModel tool is not currently enabled. To enable it:

  1. In Unity, go to Project Settings -> AI -> Unity MCP Server
  2. Under the Core section, toggle on Unity_ImportExternalModel
  3. The tool will become available immediately — no restart needed."

Option B: Manual import via Unity_RunCommand

If the user cannot or does not want to enable the tool, read FALLBACK_MANUAL_IMPORT.md (next to this file) for a step-by-step guide to replicate the import pipeline using Unity_RunCommand, based on the reference implementation in the com.unity.ai.assistant package.

Quick reference

Required format for FbxUrl

Source TypeFormatExample
Remote HTTPShttps://domain/path/file.fbxhttps://cdn.example.com/models/chair.fbx
Remote HTTPhttp://domain/path/file.fbxhttp://localhost:8000/model.fbx
Local WindowsC:/path/to/file.fbxC:/Users/name/Downloads/robot.fbx
Local Mac/Linux/path/to/file.fbx/home/user/models/tree.fbx
ZIP archiveSame as above with .ziphttps://example.com/pack.zip

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]

Remember

The Unity MCP Unity_ImportExternalModel tool requires complete, absolute URLs or paths. When in doubt:

  1. Ask the user for the complete path
  2. Verify the URL format before calling the tool
  3. Include the protocol for remote URLs
  4. Use absolute paths for local files
  5. Never guess or auto-complete partial paths
  6. Never use relative paths or tilde expansion

Goal: Prevent import failures by ensuring every FbxUrl parameter is a valid, complete, fully-qualified URL or absolute file path.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Hz Unity Fbx Import?

Ensures complete FBX URLs or absolute paths are used when importing external 3D models into Unity projects targeting Meta Quest and Horizon OS. Use when adding FBX files, 3D models, or external assets.

Firwat Hz Unity Fbx Import op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Hz Unity Fbx Import besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Hz Unity Fbx Import an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/meta-quest/agentic-tools/tree/main/skills/hz-unity-fbx-import an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Hz Unity Fbx Import benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Hz Unity Fbx Import benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Hz Unity Fbx Import domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Hz Unity Fbx Import gratis?

Jo. meta-quest huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇