Hi, everytime i place a ThirdPersonController on my person model i get a NullReferenceExeption message and i'm not sure why. This is the message: NullReferenceException
ThirdPersonController.UpdateSmoothedMovementDirection () (at Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js:105) ThirdPersonController.Update () (at Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js:320)
And this is the line of code that the error happens on:
var cameraTransform = Camera.main.transform;
Please help me