Forum rules - please read before posting.

Some null pointers

edited October 2014 in Technical Q&A
Im getting these now, any thoughts? Not sure how I caused it!


NullReferenceException: Object reference not set to an instance of an object
AC.PlayerInput.UpdateInput () (at Assets/AdventureCreator/Scripts/Controls/PlayerInput.cs:509)
AC.StateHandler.Update () (at Assets/AdventureCreator/Scripts/Game engine/StateHandler.cs:123)


NullReferenceException: Object reference not set to an instance of an object
AC.StateHandler.OnGUI () (at Assets/AdventureCreator/Scripts/Game engine/StateHandler.cs:241)

Comments

  • In what version, 1.39?  It sounds like it can't find the MainCamera prefab.  Did you remove it from the scene, or modify the PersistentEngine / GameEngine prefabs?
  • i think maybe this is when you forget to tag the camera as firstPersonCamera.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.