playMaker

Author Topic: error: namespace AI does not exist  (Read 1926 times)

westingtyler

  • Sr. Member
  • ****
  • Posts: 277
    • My Video Game Projects Web Site
error: namespace AI does not exist
« on: October 08, 2016, 09:39:52 PM »
I am getting an error regarding a script in Unity 5.4.0b24.

Assets/Standard Assets/Character Controllers/Sources/Scripts/AICharacterControl.cs(10,28): error CS0234: The type or namespace name `AI' does not exist in the namespace `UnityEngine'. Are you missing an assembly reference?

removing this script from my project causes playmaker to give 72 errors like "pathfinding" stuff, so I can't just delete this script.

I recently downgraded from unity 5.5 beta. any idea why this error exists?
« Last Edit: October 09, 2016, 02:33:09 AM by westingtyler »

westingtyler

  • Sr. Member
  • ****
  • Posts: 277
    • My Video Game Projects Web Site
Re: error: namespace AI does not exist
« Reply #1 on: October 10, 2016, 03:12:00 AM »
I eliminated the editor error by removing the AI script, removing the Playmaker Pathfinding folder whose actions then freaked out, removing the Playmaker script NavMeshAgentAnimatorSynchronizer.cs that also freaked out, then removing the folder for the Energy Bar Toolkit that also freaked out.

Now everything seems to work fine, but I might have deleted something I will later need or that could pop up at any time. If anyone has an insight into how to add "AI" to the namespace 'UnityEngine' that would be the real solution.