[Error] CS1069: The type name 'NavMeshAgent' could not be found in the namespace 'UnityEngine.AI'.
Unity3D/Trouble Shooting / 2021. 8. 17. 18:26
[문제]
Unity 2020.3에서 'UnityEngine.AI.NavMeshAgent'를 사용하는 소스가 있는 에셋을 추가하니 아래와 같은 에러메시지가 뜸.
[에러메시지] CS1069: The type name 'NavMeshAgent' could not be found in the namespace 'UnityEngine.AI'.
[해결방법] Package Manager-Built-in-AI Enable
[참조] You have to enable the built in package 'AI' in the Package Manager window to fix this error.
[출처] https://forum.unity.com/threads/cant-find-navmeshagent-data-type.449932/
반응형