NavMeshAgent could not be Found after updating Unity to 5.50b8 (beta)
i get this error after updating Unity 5.4 to Beta 5.50b8 "Assets/Standard Assets/Characters/ThirdPersonCharacter/Scripts/AICharacterControl.cs(10,16): error CS0246: The type or namespace name NavMeshAgent' could not be found. Are you missing
UnityEngine.AI' using directive?"
i've read some changes in Unity Beta API Changes: -"AI: NavMesh related types are moved from namespaces UnityEngine and UnityEditor to UnityEngine.AI and UnityEditor.AI"
but how to Fix the error?
Answer by stickybz · Nov 27, 2016 at 12:10 AM
using UnityEngine.AI;
Unity really needs to proofread their documentation. Even if it weren't version-specific, UnityEngine and System.Collections are not enough alone. https://docs.unity3d.com/550/Documentation/$$anonymous$$anual/nav-CreateNav$$anonymous$$eshAgent.html
Your answer
![](https://koobas.hobune.stream/wayback/20220612095328im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
UnityEngine.UI.Image keeps removing itself from a Prefab. 1 Answer
Bizarre compile errors in Unity while Visual Studio will build project successfully 0 Answers
Unaltered Unity cube with Rigidbody goes flying at runtime 0 Answers
Camera transform inexplicably locked, screen shake not working 0 Answers
Spawn Hazard, clone behave diffrent 0 Answers