Hi!, sorry to bother you guys yet again (I still have a few other questions, but they'll have they're own post xD). Anyways, I'm getting an error when I try to open the Options menu, but it only happens when I'm in direct control, using the Keyboard or Controller option. The only thing I've changed in the Options menu is the addition of a Controls button that opens another menu. But as I said, it only happens when Using the Keyboard or Controller setting, else it works flawlessly, so, I'm stumped, I'm not sure what I've done wrong, or if I've missed creating some input or something...
By the way this is the error:
ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
System.Collections.Generic.List`1[AC.MenuElement].get_Item (Int32 index) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:633)
AC.Menu.ControlSelected (Int32 selected_option) (at Assets/AdventureCreator/Scripts/Menu/Menu classes/Menu.cs:2044)
AC.PlayerInput.InputControlMenu (AC.Menu menu) (at Assets/AdventureCreator/Scripts/Controls/PlayerInput.cs:2180)
AC.PlayerMenus.UpdateMenu (AC.Menu menu) (at Assets/AdventureCreator/Scripts/Controls/PlayerMenus.cs:708)
AC.PlayerMenus.UpdateAllMenus () (at Assets/AdventureCreator/Scripts/Controls/PlayerMenus.cs:1412)
AC.StateHandler.Update () (at Assets/AdventureCreator/Scripts/Game engine/StateHandler.cs:307)
Anyways, as always, any advice would be greatly appreciated.
Comments
If you're involving custom scripts, it's best to remove them until you've got this working - as we need to eliminate the possibility that they're what's causing the issue. If you revert back to the original Options menu, does the issue persist?
Please also be sure to update to the latest release of AC - it's important when posting console messages as the line endings must be correct.