Hey all,
this is probably the last issue I encounter before fixing all my AI issues. =D
I have a nav mesh which gets baked and afterwards there are occasional, random nav mesh obstacles spawned.
All agents have autoRepath disabled because it leads to pretty big issues for me and disabling autoRepath resolved 99% of them.
The only true problem I still have is that apparently, every time a nav mesh obstacle is placed on the map (and carves a hole), the autoRepath is triggered for all agents, even though it’s disabled.
I am not entirely sure if it’s the case because there are no events and so on but I am 99% sure because the problem is exactly like before switching autoRepath off and the problem does not appear if I do not spawn nav mesh obstacles.
Does anyone know of that issue? I found one other thread making a comment on this exact problem (autoRepath is off but still being triggered with carving/nav mesh obstacles) but that’s it. No other findings unfortunately.
Any help highly appreciated again! Thank you!!
tl;dr: NavMeshAgent.autoRepath == false but repathing is triggered when NavMeshObstacle spawnes.