unity-ai-navigation

Guide Unity 6.3 LTS AI navigation with NavMesh baking and pathfinding.

24|5|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/Nice-Wolf-Studio/unity-claude-skills --skill unity-ai-navigation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-ai-navigation
Source: https://github.com/Nice-Wolf-Studio/unity-claude-skills/tree/main/skills/unity-ai-navigation
Command: npx skills add https://github.com/Nice-Wolf-Studio/unity-claude-skills --skill unity-ai-navigation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and code examples for implementing AI-driven navigation and pathfinding within Unity, enabling characters and agents to move intelligently through game environments.

Core Features & Use Cases

  • NavMesh Generation: Learn to bake NavMeshes from scene geometry for static and dynamic environments.
  • Agent Pathfinding: Implement intelligent movement for characters using NavMeshAgent, including obstacle avoidance and off-mesh link traversal.
  • Dynamic Obstacles: Manage moving or interactive obstacles that agents must navigate around.
  • AI Patterns: Explore state machines and behavior trees for complex AI decision-making.
  • ML Inference: Integrate Unity Sentis for running machine learning models for advanced AI behaviors.
  • Use Case: Create a realistic stealth game where AI guards patrol an area, detect the player, and pursue them using pathfinding, while avoiding dynamic obstacles like closing doors.

Quick Start

Use the unity-ai-navigation skill to bake a NavMesh for the current scene.

Frequently Asked Questions about unity-ai-navigation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bake a NavMesh for dynamic obstacles in Unity?

Unity NavMesh agent pathfinding handles character movement by calculating routes across baked NavMeshes, managing intelligent movement, and supporting off-mesh link traversal for complex environment navigation.

Can I integrate Unity Sentis ML model inference with AI navigation?

Yes, you can integrate Unity Sentis ML model inference with AI navigation to run machine learning models, enabling advanced AI behaviors and intelligent agent movement patterns in your game environments.

What's the best way to implement AI state machines for Unity agents?

The best way to implement AI state machines for Unity agents is to combine them with behavior trees, enabling complex AI decision-making for character pathfinding, patrol routines, and dynamic obstacle avoidance.

Does Unity 6.3 LTS support runtime NavMesh generation for agents?

Yes, Unity 6.3 LTS supports runtime NavMesh generation, allowing agents to dynamically pathfind through changing environments while avoiding obstacles and utilizing off-mesh links for traversal.

Why does my Unity NavMeshAgent fail to traverse off-mesh links?

NavMeshAgent off-mesh link traversal fails when links are improperly configured or disconnected from the baked NavMesh, preventing agents from executing intelligent movement across disconnected environment areas.