Jittery movement with multiple navMesh agent if they are close

"Hi, I was losing my mind while trying to figure things out. If there is more than one GameObject that has a NavMesh, they will get jittery when they are close to each other. they start shaking and rotating if i move them far it stops. I tried almost everything i have wasted 10 hours because of this i changed every possible option speed, anguler speed acceleration , stopdistance.

have you found it yet?

I made an sphere collider when it is collide with navmeshagent it stops it. Make an stopBeaver. Which will be have collider on it. Every navmeshAgent will have stopBeaver. When you set destination reference stopBeaver beaver your beaver. İt will check if it is exact same navmeshagent.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;

public class stopBeaver : MonoBehaviour
{
    public GameObject beaver;
    void Start()
    {
      
    }


    private void OnTriggerEnter(Collider other)
    {
        if (other.gameObject == beaver)
        {
            if(other.GetComponentInParent<NavMeshAgent>().enabled)  other.GetComponentInParent<NavMeshAgent>().isStopped=true;
            if (other.GetComponentInParent<tankMovement>() != null) other.GetComponentInParent<tankMovement>().canTurnOnStop = true;
            gameObject.SetActive(false);
        }
 
    }
}