HingeJoint motor will not change values?

Am i missing something here? The values on the hingejoint are not changing…

    public float force;
    public float speed;
    public Text forceValue;
    public Text speedValue;
    public Toggle useMotor;
    void Start()
    {
    }

    // Update is called once per frame
    void Update()
    {
        var objects = GameObject.FindGameObjectsWithTag("clone");
        foreach (var obj in objects)
        {
            if (obj.GetComponent<HingeJoint>() != null)
            {
                var hinge = obj.GetComponent<HingeJoint>();
                var motor = hinge.motor;

                motor.force = force;
                motor.targetVelocity = speed;
            }
        }
        forceValue.text = force.ToString();
        speedValue.text = speed.ToString();
    }


    public void AdjustForce(float newForce)
    {
      force = newForce;
    }

    public void AdjustSpeed(float newSpeed)
    {
      speed = newSpeed;
    }

Hello,

After so many tries, i think Unity 2021.2.7f1 is broken… All parameters from the motor can be changed via script except for the targetvelocity, which does not change by code…