0
Fixed

Human naming error on MemberInfo

Mountblanc 3 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 3

When running the update wizzard I get the following error:

BoltFlow version 1.2.0 to version 1.,2.2 error: Show log


<<---LOG --->>

ArgumentOutOfRangeException: Argument is out of range.
Parameter name: startIndex
System.String.Substring (Int32 startIndex) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/String.cs:333)
Ludiq.NameUtility.HumanName (System.Reflection.MemberInfo member, ActionDirection direction, Boolean expectingBoolean) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Utilities/NameUtility.cs:256)
Ludiq.NameUtility.DisplayName (System.Reflection.MemberInfo member, ActionDirection direction, Boolean expectingBoolean) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Utilities/NameUtility.cs:88)
Bolt.MemberUnitDescriptor`1[TMemberUnit].Name () (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Framework/Codebase/MemberUnitDescriptor.cs:38)
Bolt.MemberUnitDescriptor`1[TMemberUnit].Title () (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Framework/Codebase/MemberUnitDescriptor.cs:43)
Bolt.UnitOption`1[TUnit].Label () (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Options/UnitOption.cs:301)
Bolt.UnitOption`1[TUnit].FillFromUnit () (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Options/UnitOption.cs:89)
Bolt.MemberUnitOption`1[TMemberUnit].FillFromUnit () (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Framework/Codebase/MemberUnitOption.cs:87)
Bolt.UnitOption`1[TUnit]..ctor (.TUnit unit) (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Options/UnitOption.cs:22)
Bolt.MemberUnitOption`1[TMemberUnit]..ctor (.TMemberUnit unit) (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Framework/Codebase/MemberUnitOption.cs:16)
Bolt.GetMemberOption..ctor (Bolt.GetMember unit) (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Framework/Codebase/GetMemberOption.cs:10)
System.Reflection.MonoCMethod.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:513)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoCMethod.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:519)
System.Reflection.MonoCMethod.Invoke (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:528)
System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77)
Ludiq.TypeUtility.TryInstantiate (System.Type type, Boolean nonPublic, System.Object[] args) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/TypeUtility.cs:170)
Ludiq.TypeUtility.Instantiate (System.Type type, Boolean nonPublic, System.Object[] args) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/TypeUtility.cs:198)
Ludiq.SingleDecoratorProvider`3[TDecorated,TDecorator,TAttribute].CreateDecorator (System.Type decoratorType, .TDecorated decorated) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Decorators/SingleDecoratorProvider.cs:44)
Ludiq.SingleDecoratorProvider`3[TDecorated,TDecorator,TAttribute].GetDecorator (.TDecorated decorated) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Decorators/SingleDecoratorProvider.cs:80)
Ludiq.SingleDecoratorProvider`3[System.Object,Ludiq.IFuzzyOption,Ludiq.FuzzyOptionAttribute].GetDecorator[IUnitOption] (System.Object decorated) (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Decorators/SingleDecoratorProvider.cs:89)
Bolt.XUnitOptionProvider.Option (IUnit unit) (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Options/UnitOptionProvider.cs:14)
Bolt.UnitBase+<GetMemberOptions>d__13.MoveNext () (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Options/UnitBase.cs:506)
Bolt.UnitBase+<GetStaticOptions>d__10.MoveNext () (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Options/UnitBase.cs:389)
System.Collections.Generic.HashSet`1[Bolt.IUnitOption]..ctor (IEnumerable`1 collection, IEqualityComparer`1 comparer)
System.Collections.Generic.HashSet`1[Bolt.IUnitOption]..ctor (IEnumerable`1 collection)
Bolt.UnitBase.Build () (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Options/UnitBase.cs:156)
Bolt.Migration_1_2_0_to_1_2_2.Run () (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Editor/Plugin/Migrations/Migration_1_2_0_to_1_2_2.cs:15)
Ludiq.UpdateMigrationPage+MigrationStep.Update () (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/UpdateWizard/UpdateMigrationPage.cs:218)
UnityEngine.Debug:LogException(Exception)
Ludiq.MigrationStep:OnGUI() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/UpdateWizard/UpdateMigrationPage.cs:247)
Ludiq.UpdateMigrationPage:OnContentGUI() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/UpdateWizard/UpdateMigrationPage.cs:115)
Ludiq.Page:DrawContent() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/Page.cs:79)
Ludiq.Wizard:OnGUI() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/Wizard.cs:108)
Ludiq.WrappedEditorWindow:OnGUI() (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/WrappedEditorWindow.cs:43)
UnityEditor.HostView:OnGUI()
Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
GOOD, I'M SATISFIED
Satisfaction mark by Mountblanc 3 years ago