Hey there,
When I call “StartMultiTargetPath” from multiple gameobjects in scene, I’m keep getting an error;
“This should have been cleared after it was called on ‘this’ path. Was it not called? Or did the delegate reset not work?”
If I have a single gameobject which calls “StartMultiTargetPath” it works fine. Any idea what I’m doing wrong here? Or is it “StartMultiTargetPath” related issue ?
Thanks for your time.
[Edit]
Extra Information :
Oke digging up source code, I found that happens in “ResetFlags (Path p)” function in “MultiTargetPath.cs” and that function called by static “AstarPath.OnPathPostSearch” delegate. After saw that, I suspected that caused by multi-threaded path finding.
If I set Thread Count “One” or “None” that error disappeared everything seems work fine with multiple gameobjects which calls “MultiTargetPath” function but we lost multi-thread Pathfinding on our project :-/. That seems bug to me on A* Project, we hope it can be fixed asap.