- Home /
Third person controller error in line 333 and 337
I get this error every time y press space to jump:
NullReferenceException ThirdPersonController.Update()(at Assets/MyAssets/CharacterController/ThirdPersonController.cs:333
NullReferenceException ThirdPersonController.Update()(at Assets/MyAssets/CharacterController/ThirdPersonController.cs:337
I searched but not found anything related.
Please help ;(
Post those lines of code. I would say your trying to access a controller but there isn't one to access.
If you double click on the errors, it normally brings you directly to the problematic lines, you can then easily post them here, to help us help you :)
Answer by Arapahoe · Nov 24, 2013 at 12:47 PM
The animations were asigned by a .txt in a strange way. Appear in an order that if not respected does not work. It was the Spartan King from the Asset Store with the script ThirdPersonController.cs in case anyone wants to use.
Thanks for the replies :)
Your answer
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Scripting help 1 Answer
object dont destroy, error script 2 Answers
Can't convert int to bool? 2 Answers