Character Movement issues

So I’m having reoccurring issues with my character controller.
The issue happens with any controller I use, coded myself or prefabricated by others including the unity controller in the unity tutorials and standard assets.
The issue happens even after a factory reset of the operating computer and reinstalled unity (up to date as of 2/10/2020)

When sitting still the camera will pan horizontally. When in “walking” motion the camera will not pan horizontally. Once the button to run is activated (regardless of if it is pressed and released or held down) the pan function becomes functional.
Once the character ceases movement the issue resets to not panning while in motion.

Unity is most likely not causing this so please post the code you are using.

I have no idea how to do that.
I have virtually no experience on this and I’m just learning now.