daemon3000 / InputManager

Custom InputManager for Unity
Other
587 stars 88 forks source link

Switching scenes with InputManager docked may cause problems #31

Closed petersvp closed 7 years ago

petersvp commented 7 years ago

When there is docked InputManager edit window, and you switch scenes, for example, game to example scene, InputManager obviously throws unhandled exceptions. This bug is valid for about 1 year, and sometimes is extreme annoyance to overcome.

ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
System.Collections.Generic.List`1[TeamUtility.IO.InputConfiguration].get_Item (Int32 index) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:633)
TeamUtilityEditor.IO.AdvancedInputEditor.DisplayMainPanel () (at Assets/InputManager/Source/Editor/AdvancedInputEditor.cs:867)
TeamUtilityEditor.IO.AdvancedInputEditor.OnGUI () (at Assets/InputManager/Source/Editor/AdvancedInputEditor.cs:593)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
daemon3000 commented 7 years ago

@petersvp Should be fixed now. Let me know if it's still an issue.