Logo di Hz Unity Fbx Import

Hz Unity Fbx Import

Organizzazione
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

Panoramica

Pubblicato dameta-quest
Repositoryagentic-tools
Nome della skillhz-unity-fbx-import
Stelle
195
Fork
17
File inclusi
1
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 1

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da meta-quest su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Hz Unity Fbx Import in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/meta-quest/agentic-tools/tree/main/skills/hz-unity-fbx-import
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Hz Unity Fbx Import in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Hz Unity Fbx Import non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Hz Unity Fbx Import non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Hz Unity Fbx Import su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Hz Unity Fbx Import è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Hz Unity Fbx Import in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/meta-quest/agentic-tools/tree/main/skills/hz-unity-fbx-import. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Hz Unity Fbx Import?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Hz Unity Fbx Import?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Hz Unity Fbx Import: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Hz Unity Fbx Import è gratuita?

Sì. È pubblicata su GitHub da meta-quest con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇