Forum rules - please read before posting.

critical error with the menus!

After just importing and placing some sprites, this error occurred and now my characters are not spawning + no menus are working.

I also messed up my version control setup so I don't have the ability to just jump back a day :/

pls help!

https://imgur.com/a/7pXkeIJ

Comments

  • It looks like one of your menus has an issue with its elements.

    If you open up AC's Menu.cs script, line 351 should have the following code:

    MenuElement newElement = _element.DuplicateSelf (fromEditor, ignoreUnityUI);
    

    Immediately above it, paste the following:

    if (_element == null) { Debug.Log ("Null element found in menu " + title); continue; }
    

    That won't fix the menu, but will allow the game to continue and should also alert you as to which menu has the issue.

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.