Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexOutOfRangeException every time I close out of mod settings. #463

Closed
MegaPiggy opened this issue Aug 4, 2022 · 0 comments · Fixed by #465
Closed

IndexOutOfRangeException every time I close out of mod settings. #463

MegaPiggy opened this issue Aug 4, 2022 · 0 comments · Fixed by #465

Comments

@MegaPiggy
Copy link
Member

IndexOutOfRangeException: Index was outside the bounds of the array.
Stacktrace: OptionsSelectorElement.GetSelectedOption () (at <2d33102988174911bcf077725dae0017>:0)
OWML.ModHelper.Menus.ModSelectorInput.get_Value () (at <bd214e93fe3345958a6d4eed7a9fb9ee>:0)
OWML.ModHelper.Menus.ModMenu.GetInputValue (System.String key) (at <bd214e93fe3345958a6d4eed7a9fb9ee>:0)
OWML.ModHelper.Menus.ModConfigMenu.OnSave () (at <bd214e93fe3345958a6d4eed7a9fb9ee>:0)
OWML.ModHelper.Menus.ModButtonBase.<.ctor>b__17_0 () (at <bd214e93fe3345958a6d4eed7a9fb9ee>:0)
UnityEngine.Events.InvokableCall.Invoke () (at <469e86e97fa2467ebffe49bbd6086325>:0)
UnityEngine.Events.UnityEvent.Invoke () (at <469e86e97fa2467ebffe49bbd6086325>:0)
UnityEngine.UI.Button.Press () (at <414efcd524b542f1bddd204f2129ec80>:0)
UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <414efcd524b542f1bddd204f2129ec80>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <414efcd524b542f1bddd204f2129ec80>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <414efcd524b542f1bddd204f2129ec80>:0)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
OWMenuInputModule:ProcessPointerButton(ButtonState&, PointerEventData)
OWMenuInputModule:ProcessPointer(PointerModelExposed&)
OWMenuInputModule:ProcessMouseEvent()
OWMenuInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update()
MegaPiggy added a commit to MegaPiggy/owml that referenced this issue Aug 4, 2022
MegaPiggy added a commit to MegaPiggy/owml that referenced this issue Aug 4, 2022
xen-42 added a commit that referenced this issue Aug 19, 2022
@xen-42 xen-42 mentioned this issue Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant