unity-navmesh
Skill by gamedev-skills
Guides Unity 6.3 LTS pathfinding with the AI Navigation package 2.0. It covers NavMeshSurface baking, NavMeshAgent movement, NavMeshLink jumps and runtime rebakes, and is for developers building chasing or patrolling NPCs.
Install unity-navmesh
Built from the published package, never by AI.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/unity/unity-navmesh ~/.claude/skills/unity-navmeshRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/unity/unity-navmesh ~/.gemini/antigravity-cli/skills/unity-navmeshAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
unity-navmesh is an agent skill for pathfinding in Unity 6.3 LTS using the AI Navigation package 2.0. It covers baking walkable surfaces with a NavMeshSurface, moving agents with NavMeshAgent, bridging separate areas with NavMeshLink, and rebaking at runtime. The source notes that baking is now component-based, since the old Navigation window's Bake tab and Navigation Static flag were removed.
The workflow checks that the package is resolved, inventories scene components, bakes the surface and then verifies the mesh and paths by reading them back. Verification can use a Unity CLI command, a scene file check or a PlayMode test. It includes code patterns for a chase with a re-path timer, checking reachability and baking at runtime. It is for developers making enemies that chase or patrol, or fixing agents that do not move or warp.
Written from the project's SKILL.md and checked against it.
What it can do
- Surface bakingBakes walkable surfaces with NavMeshSurface, or calls BuildNavMesh after level geometry exists.
- Agent movementDrives NavMeshAgent with SetDestination and detects arrival using pathPending and remainingDistance.
- Runtime blockingUses NavMeshObstacle with carving to block paths at runtime without a full rebake.
- Gap bridgingAdds NavMeshLink jumps between separate navigation islands such as ledges and gaps.
- Reachability checkCalculates a path and checks for PathComplete before committing an agent to a target.
- VerificationReads triangle counts and path status back through the Unity CLI, a scene file check or a PlayMode test.
- TroubleshootingCovers agents that do not move or warp, partial paths, missing Bake tab and Rigidbody jitter.
What you need
- Unity 6.3 LTS (6000.3)
- AI Navigation package com.unity.ai.navigation 2.0
- A Unity Editor project with NavMeshSurface components
Try asking
- Make my enemy chase the player with a NavMeshAgent in Unity 6.3
- My NPC warps to the origin and never moves. Help me debug it.
- Add a NavMeshLink so the agent can drop from a ledge in my level
Good to know
- The source says no Unity CLI command bakes a NavMeshSurface yet.
- Agents do not see new runtime geometry without a carving obstacle or a rebake.
- Surfaces built at runtime with BuildNavMesh are not saved to disk.
- Behavior such as reaching the target must be checked by a user pressing Play.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/unity/unity-navmesh/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB
Alternatives to unity-navmesh
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
unity-navmesh: common questions
Where did the Bake tab go in Unity 6?
The source says the old Navigation window's Object and Bake tabs were removed with AI Navigation 2.0. Baking is done from a NavMeshSurface component instead.
Can the Unity CLI bake a NavMeshSurface?
The source says no command bakes a NavMeshSurface yet. The navmesh bake_surfaces command is a stub that always fails in com.unity.pipeline 1.0.
Why does my agent get a partial path?
The source says a partial path means the target is on another island. Add a NavMeshLink or extend the geometry so one surface covers both areas.
How do I install unity-navmesh?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is unity-navmesh free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is unity-navmesh safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to unity-navmesh?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
