← Files Unity EssentialsARCHIVED FILE
skills/unity-feature-implementation/specializations/ai-navigation.md
889 Bytes · Oct 4, 2026 · 12:29 UTC
# AI and Navigation Specialization ## Use when Use for NavMesh, pathfinding, behavior trees, state machines, perception, targeting, steering, and enemy decision-making. ## Inspect first - navigation framework - update cadence - state or behavior architecture - perception system - target ownership - multiplayer authority - pooling - obstacle and agent settings ## Implementation rules - Keep decision logic separate from presentation. - Avoid expensive full-scene searches. - Control update frequency. - Preserve authority rules. - Make state transitions explicit. - Handle unreachable targets. - Handle despawned targets. - Reset pooled AI state. - Avoid hidden coupling to scene names or tags. ## Validation - valid and invalid targets - unreachable destinations - target loss - scene reload - pooled reuse - multiplayer authority - performance with representative agent counts
SHA-256: 3bb28decd16c4ad60cb271bd17d9633d3539de20aa90d4b30ab4c9fb5a993824