# Console error

**URL:** https://discussions.unity.com/t/console-error/664730
**Category:** Target Platforms
**Tags:** Bug
**Created:** [May 15, 2017, 2:05pm UTC](https://discussions.unity.com/t/console-error/664730 "2017-05-15T14:05:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ErkRain](https://avatars.discourse-cdn.com/v4/letter/e/4da419/32.png) [@ErkRain](https://discussions.unity.com/u/ErkRain)
#### Post date: [May 15, 2017, 2:05pm UTC](https://discussions.unity.com/t/console-error/664730/1 "2017-05-15T14:05:41Z")

</div>

Hello, dear programmers, I have a bug in the console when launching the project “Assets / MFPS / Scripts / Misc / AI / bl\_SimpleAI.cs (29.13): error CS0246: The type or namespace name” NavMeshAgent 'could not be found. Are you missing `UnityEngine.AI 'using directive?" Do not tell me what to do?

---

<div class="post-metadata">

### Author: ![unity-werkstatt](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/unity-werkstatt/32/562670_2.png) [@unity-werkstatt](https://discussions.unity.com/u/unity-werkstatt)
#### Post date: [April 4, 2018, 2:29pm UTC](https://discussions.unity.com/t/console-error/664730/2 "2018-04-04T14:29:16Z")

</div>

Maybe it is to late for answer for You but if someone else get to this problem … :  
in console You have list of files that have that issue on top od each file add  
`UnityEngine.AI 'using directive  
and when unity compiles it is possible that new ones will emerge, then add to them also

Cheers
