Question by
RenNagasaki · Jan 03, 2018 at 10:15 AM ·
bugunity5navmeshnavmeshagentpathfinding
[Unity .3.03f] NavMeshAgent stops after rebaking NavMeshSurface
Hello guys,
I have a problem regarding the pathfinding in my TD Game
Here's the detailed workflow + error.
1. After Creation of the plane where my creeps walk on, I "bake" it.
2. Creeps spawn and move from waypoint to waypoint how they should.
3. Player places a tower and the NavMeshSurface gets "rebaked"
4. Creeps stop moving and hasPath property is set to false.
What I tried so far:
Recalculating and resetting the path after "baking" the surface.
- Path shows correct corners but "NavMeshAgent.SetPath" doesn't seem to do anything .hasPath still false even though path is set correctly.
Setting a destination instead of path
- no change whatsoever
I hope you understand my problem and may be able to help me.
Greetings,
RenNagasaki
Comment