Preventing Circling AI

I have code to where an AI will follow the player and have found that running in circles around the AI makes it stay still. This prevents the AI from actually reaching the player. Is there any way to prevent this?

Is there any way that you could show us some code so we could see more deeply what’s happening here? Thanks

Thank you for responding, here is my navigation code:

void Start()
{
    agent = GetComponent<UnityEngine.AI.NavMeshAgent>();
}

void Update()
{
    agent.destination = player.position;
}

ezgif.com-video-to-gif

I hope this better shows the problem.

I don’t have experience NavMeshAgent. But, I think steering value should be changed by distance between agent and player. When both close enough, decrease steering-speed.

I Got that same problem And with help of this How to use Unity NavMesh Pathfinding! (Unity Tutorial) - YouTube and it’s solve hope yours also

I found the solution! I turned off auto-braking and increased the acceleration. Thank you for your help!