# initialize-ai-navigation

> Claude/Codex skill by [@unity-technologies](https://omgskills.com/library/unity-technologies/index.md) · 1.2k stars · Updated 2026-10-28

Sets up and configures Unity AI Navigation, including NavMesh surfaces, agents, obstacles, and links. Use when the user asks about navigation meshes, pathfinding, patrol routes, or obstacle avoidance.

## Install

```sh
git clone https://github.com/Unity-Technologies/skills /tmp/skills && ln -s /tmp/skills/skills/initialize-ai-navigation ~/.claude/skills/initialize-ai-navigation
```

## From README

Passing C\# to script eval script eval compiles a statement block, not a file. Two consequences, both of which cause a compile error rather than a warning: No using directives. The compiler reads using UnityEngine; as a resource-disposal statement and rejects it (CS0210). Types must be fully qualified. A bare AssetDatabase or Volume does not resolve (CS0246 / CS0103), and a bare Object is ambiguous with object (CS0104). Where a snippet below is written as a file — with usings, for readability, or because it is meant to be saved into the project — qualify the types before passing it to script eval.

## Links

- HTML page: https://omgskills.com/library/unity-technologies/skills/initialize-ai-navigation/
- GitHub: https://github.com/Unity-Technologies/skills
- Author: [@unity-technologies](https://omgskills.com/library/unity-technologies/index.md)

## More from this repo

- [audio-setup-mixers](https://omgskills.com/library/unity-technologies/skills/audio-setup-mixers/index.md) — Routes Audio Sources into existing Audio Mixer Groups, classifying each source by what it plays.
   - [@unity-technologies](https://omgskills.com/library/unity-technologies/index.md) · 1.2k stars
- [build-live-game](https://omgskills.com/library/unity-technologies/skills/build-live-game/index.md) — Builds and operates a live game's backend with Unity Gaming Services.
   - [@unity-technologies](https://omgskills.com/library/unity-technologies/index.md) · 1.2k stars
- [generate-editor-search-query](https://omgskills.com/library/unity-technologies/skills/generate-editor-search-query/index.md) — Generates Unity Search queries and opens the Search window to find assets or scene objects.
   - [@unity-technologies](https://omgskills.com/library/unity-technologies/index.md) · 1.2k stars
