I'm having issues making my Character Controller for my FPS.,I'm having issues with my Character Controller, and i'm not sure how to fix it.
NullReferenceException: Object reference not set to an instance of an object FPSController.PlayerMovement () (at Assets/Scripts/FPS Character Scripts/FPSController.cs:74) FPSController.Update () (at Assets/Scripts/FPS Character Scripts/FPSController.cs:41)
(error)
firstPerson_View.localEulerAngles = firstPerson_View_Rotation;
(code unity seems to have a problem with),NullReferenceException: Object reference not set to an instance of an object FPSController.PlayerMovement () (at Assets/Scripts/FPS Character Scripts/FPSController.cs:74) FPSController.Update () (at Assets/Scripts/FPS Character Scripts/FPSController.cs:41)
that is the error I keep getting
firstPerson_View.localEulerAngles = firstPerson_View_Rotation;
and that is the code unity has a problem with.
Your answer
Follow this Question
Related Questions
Unable to understand error message 1 Answer
question about CommandInvokationFailure: Unable to convert classes into dex format. 2 Answers
NullReferenceException randomly occurs 2 Answers
JS NullReferenceException: Object reference not set to an instance of an object 1 Answer
2 errors of which I do not know what they are or how to solve them 0 Answers