Forum rules - please read before posting.

error null reference exception

Comments

  • What's your AC version?

    The error means that either you have a character (not necessarily the one shown in your screenshot) has no "Sprite child" assigned, or that you have no AC MainCamera - though this does appear to be the case.

    To get more details about what's wrong, open up Char.cs, and paste the following in between lines 3007 and 3008:

    Debug.Log ("Character: " + name + ", Sprite child: " + spriteChild + ", MainCamera: " + KickStarter.mainCamera);
    

    What does the Console then show?

  • v1.73.6
    I did that and then a press 'organise scene with folders', bc it told me to. Now it has some yellow errors but I can use the play mode. thanks.

  • What are the yellow errors?

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.