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
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.