I am currently working on a project where i need to rebake a navmesh during runtime, as players are supposed to be able to change the height of areas within a small landscape that is roamed by autonomously moving agents.
For the Navmesh I am using this Package: Home Page. | AI Navigation | 1.1.5
The problem is that during my research multiple creators are doing stuff like this:
in order to do something like this:
but if I try to Type in NavMeshSurface, I am told that the namespace can not be found and yes the script is using UnityEngine.AI
I am now wondering what is going wrong? Is it outdated? Am I using the wrong package? Or what else could it be?
The two tutorials this issue is based on are linked below:
(Screenshot taken at 5:48)
(Screenshot taken at 7:32)
I really hope you can answer my questions and thanks for all answers in advance.