I've been working on a project, learning about Events. I've never used NavMesh before and I was using an OnTriggerEnter() to spawn basic cube enemies. The event side of my project worked as intended and the enemies do spawn.
I keep getting spammed in console with this error message "Odd tag in Cleanup!". Because I haven't worked with Events before nor NavMesh/NavMeshAgent, I didn't know what was causing the problem. I opened a new project with a flat terrain and created a simple cube based enemy again. I setup the NavMesh and NavMeshAgent with some basic target & follow logic.
After playing around with this setup for some time, I have narrowed the problem down to the NavMeshAgent specifically. If it is turned off, I do not get the errors. If it is turned on, I get the errors.
![The errors][1]
[1]: /storage/temp/68066-navmeshagent.jpg
It is just a very simple scene with a terrain, Standard Assets FPSController, box enemy and a directional light. There's a simple script on the enemy to target the FPSController and SetDestination(). What could be causing this error? It's not just this project that is spamming me with this same error. I have been getting it with other imported packages from the Asset Store which I purchased, also.
↧