- Home /
Duplicate Question
Hi I get an error code when i'm using my Javascript and I can't understand how to fix it... :(
This script is just a simple javascript that makes an animation start at the beginning and also disables the "Character Motor" so the character doesn't move at the beginning and also the camera values are Reset so I can't look Around but when the animation is over the "Character Motor" is enabled and the camera values are back as they where from the beginning. Everything works but I just get this annoying error... Please Help :)
This is the error code:
NullReferenceException: Object reference not set to an instance of an object StartCAS.Update () (at Assets/Jonathan/Script/StartCAS.js:21)
Answer by Graham-Dunnett · Jan 13, 2015 at 10:46 AM
You fix it by reading questions and answers posted on this site about NullReferenceExceptions.
Follow this Question
Related Questions
Object reference not set to an instance of an object help (JS) 0 Answers
NullReferenceException 1 Answer
Object reference not set to an instance of an object 1 Answer
NullReferenceException: Object reference not set to an instance of an object 1 Answer
[js]NullReferenceException: Object reference not set to an instance of an object 1 Answer