unity-navmesh

Bake, clear, and query Unity NavMesh data for navigation workflows.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-navmesh-rayzerrek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-navmesh
Source: https://github.com/Rayzerrek/dotfiles/tree/main/.pi/agent/skills/unity-skills/skills/navmesh
Command: npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-navmesh-rayzerrek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies Unity navigation setup by letting you bake, clear, and inspect NavMesh data so agents move reliably through scenes.

Core Features & Use Cases

  • Bake or clear NavMesh data for a scene.
  • Calculate paths, sample nearest positions, and inspect build settings.
  • Add or configure NavMeshAgent and NavMeshObstacle components, including carving and traversal costs.
  • Use it when building AI movement, validating routes, updating navigation after level changes, or tuning obstacle behavior.

Quick Start

Use the unity-navmesh skill to bake the scene NavMesh and then calculate a path between two points for validation.

Frequently Asked Questions about unity-navmesh

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

FAQPage Schema
How do I rebake a Unity NavMesh after modifying scene geometry?

To rebake a Unity NavMesh after geometry changes, trigger a synchronous baking operation to rebuild the navigation data. This ensures agents route correctly around updated scene obstacles.

How do I calculate a path between two points for Unity agent navigation?

To calculate a Unity navigation path, query baked NavMesh data to compute the route and sample nearest valid positions. This validates route availability before assigning it to a NavMeshAgent.

How do NavMeshObstacle carving and area costs affect Unity pathfinding?

NavMeshObstacle carving dynamically updates the NavMesh to block agent paths, while area costs adjust traversal weights. Configuring both ensures Unity agents navigate around dynamic obstacles efficiently.

Can I inspect and modify Unity NavMesh build settings for scene setup?

Yes, you can access and inspect Unity NavMesh build settings during scene setup. Modifying these build parameters controls how the synchronous baking process generates the navigation mesh.

Why is synchronous baking required for Unity NavMesh path validation?

Synchronous baking is required for Unity NavMesh path validation because route calculation needs updated navigation data immediately. Querying paths before baking completes returns invalid or incomplete routes.