We most likely are going to need more code in order to resolve. That code doesn’t show us how you are assigning your variables in order to find which one may be null.
Additionally, since some references are set through inspector, and SS would be great.
A Null Reference error stops code in its tracks. If everything is working despite the Null Reference, there are two possibilities:
The code finishes doing everything that you can see it doing before the line in which the NRE is triggered. Since the rigidbody is being moved in the last line of code here, that must not be the case.
There are multiple copies of this script running. It’s really easy to add a script to the wrong object and not notice, and if m_Rigidbody is something you assign by the “drag-in-inspector” method, that would be null, and would explain this error.
Try putting this anywhere in your script:
Debug.Log("Test: "+gameObject.name, this);
When you click on it, it’ll highlight the object that called it.