Forum rules - please read before posting.

Deleted Save from Menu & Caused 999+ Errors

edited June 2014 in Technical Q&A
Hello!

General newbie here...Wondering if anyone came across a stupid mistake like deleting an element from the menu manager and was able to fix something similar to the following:

NullReferenceException: Object reference not set to an instance of an object
AC.MenuManager.CreateMenusGUI () (at Assets/AdventureCreator/Scripts/Managers/MenuManager.cs:154)
AC.MenuManager.ShowGUI () (at Assets/AdventureCreator/Scripts/Managers/MenuManager.cs:84)
AdventureCreator.OnGUI () (at Assets/AdventureCreator/Scripts/Managers/Editor/AdventureCreator.cs:252)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

Regards,
Tod

Comments

  • Are you using the latest version (1.33b)?  Can't reproduce the error - deleting Menus and Elements within Menus works fine for me.

    If the error persists even after a Unity reload you may have to unset the Menu Manager asset manually by finding the References prefab in Assets -> Adventure Creator -> Resources.  From there, you can re-assign a new Menu Manager asset.  If you use the New Game Wizard, you can have one created automatically for you, with the Demo menus used as a basis.
  • Used AC's NGW and it worked like a charm. Thanks Chris!
    AC build is 1.33b. OP is windows 8, 64-bit / Dell laptop. My system is kind of flaky..so who knows...
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.