NavAgent stuttering when player gets close.

I’m moving my player like this:

Update()
    {
        if (_isAccelerating && _speed < FarmStableManager.SELECTED_CAMEL_DATA.topSpeed)
        {
            _speed += 6f * Time.deltaTime;
        }
        else
        {
            _speed -= 10f * Time.deltaTime;
            _speed = _speed <= 0f ? 0f : _speed;
        }
       
        _rigidbody.velocity = transform.forward * _speed;
    }

And i have a couple of AIs moving with NavMeshAgent, the problem is everytime my player gets close to any of the AIs they start to stutter, i’ve already checked the proffiler everything seams fine, the FPS rate is ok, i don’t know why this is happening. Also, if i use transform.Translate this dosen’t happen.

The weird part is that my player runs just fine, only the AI objects that start stuttering and only when the player is close ( not colliding, just nearby ) and moving.

Your nav code butts head with the agent’s auto-breaking, turn that off.