navigation-get

Serializes NavMesh components on Unity GameObjects via ReflectorNet for read-only inspection.

Updated May 20, 2026
One-click install
npx skills add https://github.com/Alltwice/Unity-3D-Project --skill navigation-get-alltwice
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: navigation-get
Source: https://github.com/Alltwice/Unity-3D-Project/tree/main/.agents/skills/navigation-get
Command: npx skills add https://github.com/Alltwice/Unity-3D-Project --skill navigation-get-alltwice

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? When working with Unity AI navigation, you often need to inspect the current configuration of NavMesh components (NavMeshSurface, NavMeshModifier, NavMeshModifierVolume, NavMeshLink, NavMeshAgent) on a GameObject, including fields not exposed by dedicated tools. This Skill provides a generic read path that serializes any NavMesh component so you can see its exact state before making changes. ## Core Features & Use Cases - Generic Component Serialization: Reads any recognized NavMesh component on a GameObject and returns its serialized members via ReflectorNet. - Flexible Targeting: Resolve the GameObject by instanceID, hierarchy path, or name, and optionally pick a specific component by index, type name, or instanceID when multiple exist. - Deep Serialization Option: Recurse through nested objects with deepSerialization when top-level members are not enough. - Use Case: Before adjusting agent radius or area masks with the navigation-modify skill, call this tool to read the NavMeshAgent's current serialized state and confirm which fields need updating. ## Quick Start Ask the AI to read the NavMeshAgent component on your enemy character GameObject using the navigation-get tool with deep serialization enabled.

Frequently Asked Questions about navigation-get

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

FAQPage Schema
How do I read a NavMeshAgent component's values in Unity?▼

Use the navigation-get tool with a gameObjectRef pointing to the GameObject hosting the NavMeshAgent. It serializes the component via ReflectorNet and returns the member data plus the resolved component type name, all read-only.

How to inspect NavMesh component fields not covered by dedicated Unity tools?▼

navigation-get acts as a generic escape hatch for fields not exposed by dedicated tools. Set deepSerialization to true to recurse through nested objects, or leave it false to read only top-level members.

Which NavMesh component types does navigation-get support?▼

It supports NavMeshSurface, NavMeshModifier, NavMeshModifierVolume, NavMeshLink, and NavMeshAgent. If a GameObject has multiple NavMesh components, pass a componentRef by index, type name, or instanceID to select a specific one.

Can navigation-get modify NavMesh component values?▼

No, navigation-get is strictly read-only and only serializes component state. To write changes back, pair it with the navigation-modify skill as indicated in the tool description.

Why is unity-mcp-cli not found when running navigation-get?▼

The CLI is either not installed globally or not on your PATH. Install it with npm install -g unity-mcp-cli or invoke it via npx unity-mcp-cli, and check the unity-initial-setup skill for detailed installation steps.