unity-navmesh

Bake Unity NavMesh data and calculate paths with waypoint results.

6|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-navmesh-dycuong03
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-navmesh
Source: https://github.com/dyCuong03/unity-agent-team/tree/main/.claude/skills/unity-skills/skills/navmesh
Command: npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-navmesh-dycuong03

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity scenes often need accurate navigation data and reliable pathfinding results, and manual setup can be slow and error-prone.

Core Features & Use Cases

  • NavMesh baking & clearing: Bake or clear NavMesh data to keep navigation up to date after level changes, including area settings.
  • Path calculation: Compute paths between world positions and return validity, distance, corner waypoints, and path status for AI movement logic.
  • Agent/Obstacle configuration: Add and configure NavMeshAgent and NavMeshObstacle components, including obstacle carving and area traversal costs to support avoidance and weighted navigation.

Quick Start

Ask for navmesh_bake to generate NavMesh data, then request navmesh_calculate_path to get a valid set of waypoints between your start and end positions.

Frequently Asked Questions about unity-navmesh

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

FAQPage Schema
How do I calculate a path between two points on a Unity NavMesh?

To calculate a Unity NavMesh path, request path computation between world positions to receive validity, distance, corner waypoints, and path status for AI movement logic. This returns structured waypoint data for agent routing.

How do I bake NavMesh data after modifying a Unity scene?

Baking NavMesh data after level changes requires requesting a NavMesh bake operation with the correct area settings. This generates updated navigation data to keep AI routing accurate across the modified environment.

Can I configure NavMeshObstacle carving and area traversal costs in Unity?

Yes, you can add and configure NavMeshObstacle component carving alongside NavMeshAgent area traversal costs. This supports dynamic obstacle avoidance and weighted navigation across different areas during gameplay.

What is NavMesh nearest-point sampling used for in Unity AI navigation?

NavMesh nearest-point sampling finds suitable positions on the navigation mesh for AI agents. It applies to agent routing tasks by connecting arbitrary world coordinates to valid NavMesh surfaces for accurate pathfinding.

Why does my Unity NavMesh path return invalid status during calculation?

A NavMesh path returns invalid status when the start or end positions are off the baked mesh, or the area costs block traversal. Ensure you bake the NavMesh correctly and validate positions before requesting path calculations.