followUnseen in AI Goal meleeattack breaks very easily
Summary
the followUnseen attribute in AI Goal meleeattack breaks very easily and randomly
Steps to reproduce
for now it feels like it just happens at random after i have my server up for a while. Very annoying cause every time this happens I feel like I was the one who broke it with the latest thing / change that I added; and a server restart will have the AIGoalSelector Meleeattack{followUnseen=true} working properly again... | ...I will update this post when I find a way to recreate this issue reliably
Current behavior
mob skips Meleeattack and goes to the next thing in the AIGoalSelectors tree when a target is not in sight, skills with @target targets also stop working when no target is insight.
Intended correct behavior
mob going after player as long as it's in range, with @target selector ignoring walls between mob and target.
Server log file Debug log snippet
all three logs are too big and did not use debug