Weird flickering of rotation when ai pawn gets close to player

Hi,
I made an ai pawn that uses ‘MoveDirectlyToward’ task in a behavior tree which works, but for some reason it flickers when it gets close. It’s also weird that it doesn’t always happen. After hours going insane I basically made no progress, does anyone what it could be? I have tried setting an higher acceptance distance, but that doesn’t get rid of the flickering, it still does the same from a further distance. Note that it’s also not the attacking task, since it does the exact same if I remove the attack task. Could be some physics settings somewhere or a restriction I could set? It’s rotation flicker between like -179 and 0. See clip below of behavior:

Any suggestion is welcome as just at a loss right now.
Greetings, S.