Probably a beginner question but i have some issues with XPath atm. After taking a lot of functionality out of AIPath and mixing it into my own AI movecontroller class everything was working fine. Untill I decided that I needed a way for a path to end early or end on an area. So XPath with proximity endcondition was the next step. After implementing it I constantly get "path failed callback references seeker" messages. Giving no additional information and stepping through the code I found that the call for the seeker is very much intended.
Current code in my SearchPath() function, all other relevant parts are very similar to AiPath
XPath p = XPath.Construct(GetFeetPosition(), targetPosition, null);
p.endingCondition = new EndingConditionProximity(p, fProximityConditionRange);
Am I doing something wrong? maybe using XPath wrong?
Edit: In addition, when I set the seeker to not remember my own callback and just pass it to construct only, I get the same error only that it points at my own AiController behaviour now.
Edit: p.errorlog is empty, no additional info given