I just installed Unity 3D and I’m following a tutorial. I’m trying to use the standard FPS options that was already installed in Unity. I’m having trouble, I’m getting this error. Help?
NullReferenceException: Object reference not set to an instance of an object
FirstPersonControl.Update () (at Assets/Standard Assets (Mobile)/Scripts/FirstPersonControl.js:66)
You forgot to set a variable in the inspector for the gameObject that you’ve attached the FirstPersonControl.js script to. In the future, please use search.