Greetings, I have fixed the problem.
To fix the problem go through the next steps:
1. Go to SampleInputTrackingDelegate.cs line 26 (this is just a percussion) the if statement should be
if (_ovrCameraRig != null)
2. Same script lines 36,37 changed them to (we will create the variables in the other script)
leftController = _ovrCameraRig.CustomLeftControllerAnchor,
rightController = _ovrCameraRig.CustomRightControllerAnchor
3. Either you create an inherited class from OVRCameraRig or you updated it, inside declare the variables
public Transform CustomLeftControllerAnchor;
public Transform CustomRightControllerAnchor;
4. Add the references of the OVR Camera Rig in the scene, with the transform of your controllers. or whatever tracking you would like to do.