Question by
Cervelx · Aug 04, 2016 at 08:00 PM ·
scripting problemnavmeshagent
Problem with the Nav Mesh Agent... please !
Hi to all, i'm watching the "Survival Shoter Tutorial" and now I'm trying the Enemy script
I attached the script on a simple cube with collider and rigid body like the tutorial !
But i have an error !!!
Please help me !!! Thank you :)
script.jpg
(183.5 kB)
navmesherror.jpg
(28.6 kB)
Comment
Answer by adriono · Aug 05, 2016 at 07:57 AM
I think that script is ok. It must be configuration problem. Do you have NavMesh on your scene? If no, create it:
https://docs.unity3d.com/Manual/nav-BuildingNavMesh.html
Maybe this error mean that your Enemy is too far from NavMesh.
Your answer
