hey so i am trying to set up a movement and first person script

hey so i am trying to set up a movement and first person script that i got off the unity asset store, but it wont work and comes up with the errors "
UnassignedReferenceException: The variable joint of FirstPersonController has not been assigned.
You probably need to assign the joint variable of the FirstPersonController script in the inspector.
UnityEngine.Transform.get_localPosition () (at :0)
FirstPersonController.Awake () (at Assets/ModularFirstPersonController/FirstPersonController/FirstPersonController.cs:143)"
can anyone help?
ill send link to the script
Modular First Person Controller | 3D Characters | Unity Asset Store
tysm if you help! :smile:

i did some work after some turtorials but i now get a different error message,
UnassignedReferenceException: The variable joint of FirstPersonController has not been assigned.
You probably need to assign the joint variable of the FirstPersonController script in the inspector.
UnityEngine.Transform.get_localPosition () (at :0)
FirstPersonController.Awake () (at Assets/ModularFirstPersonController/FirstPersonController/FirstPersonController.cs:143)

How to fix a NullReferenceException error

https://forum.unity.com/threads/how-to-fix-a-nullreferenceexception-error.1230297/

Three steps to success:

  • Identify what is null
  • Identify why it is null
  • Fix that

Remember: NOBODY here memorizes error codes. That’s not a thing. The error code is absolutely the least useful part of the error. It serves no purpose at all. Forget the error code. Put it out of your mind.

The complete error message contains everything you need to know to fix the error yourself.

The important parts of the error message are:

  • the description of the error itself (google this; you are NEVER the first one!)
  • the file it occurred in (critical!)
  • the line number and character position (the two numbers in parentheses)
  • also possibly useful is the stack trace (all the lines of text in the lower console window)

Always start with the FIRST error in the console window, as sometimes that error causes or compounds some or all of the subsequent errors. Often the error will be immediately prior to the indicated line, so make sure to check there as well.

All of that information is in the actual error message and you must pay attention to it. Learn how to identify it instantly so you don’t have to stop your progress and fiddle around with the forum.

The error is on line 143 in FirstPersonController.cs You’ll need to find out what is null on that line, I would suggest to use Debug.Log to find out https://discussions.unity.com/t/748729/14