Reverse button doesn't work

Hello!

My reverse button stopped working recently and I don’t know why. The Reverse() function does get called (tested it with debug.log). Started also becomes true, but the car doesn’t move anywhere.

void FixedUpdate ()
{
if (reverseOn) {
started = true;
Reverse();
}
}

public void Reverse () {
motorInputTouch = 1;
reverseOn = true;

wheelBR.brakeTorque = 0;
wheelBL.brakeTorque = 0;

if (currentSpeed <= 0 && currentSpeed > -maxReverseSpeed) {
wheelBR.motorTorque = OneTorque * -motorInputTouch;
wheelBL.motorTorque = OneTorque * -motorInputTouch;
} else {
wheelBR.motorTorque = 0;
wheelBL.motorTorque = 0;
}
}

I noticed that the reverse button sometimes briefly disappeared when pressing it, so adding a if (reverseOn == true) to the visibility script fixed the issue.

Thanks to all who chipped in!