It's a very strange bug ... I think the latest update is making this bug.
I want AI to patrol the next marker in the list, so I made behavior for this patrol logic i made simple logic like below. old one has no problem. but the new one has bug (even if it has same logic with old one)
when I make link between composite(selector) and old-one task, AI is patrolling each markers in the list.
but, when I choose new-one task, AI can't get next marker from list. it is going to (0, 0, 0)
I try to write some Debug.Log() to find which point has problem. the result of getTarget method in the ActionCharacterMoveTo class is Vector3.zero (the inital value for cPosition). it means they can't get position from the list.
the reason of why getTarget couldn't set "cPosition" is the result of "variable.GetVariableDataType(invoker)" is null. In the "GetVariableDataType" method of the "VariableProperty" class, the "variableType" of "VariableProperty" class is correct, it is "ListVariable". but the value of "this.local.GetGameObject(invoker)" is null.
the "targetType" of "HelperLocalVariable" class is "GameObject" even I set the list variable of the "invoker". because it has wrong targetType as "gameObject" and the value of targetObject is nul, the result of getGameObjectI(invoker) is null. so it can't get any position from list, the AI will go to Vector3.zero position. :(
please fix this bug. it is really ridiculous & sily bug.
the values of "old-correct one" is "targetType: invoker" like below logs
but the value of "new-wrong one" is "targetType: gameObject" like below logs
please fix it as soon as possible
Customer support service by UserEcho