ArgumentOutOfRangeException

Issue #151 resolved
Former user created an issue

Version 1.0.4.0, UnityVersion 5.6.2f1

ArgumentOutOfRangeException: Cannot be negative. Parameter name: length System.String.Substring (Int32 startIndex, Int32 length) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/String.cs:348) Sirenix.Utilities.AssemblyUtilities.GetAssemblyTypeFlagNoLookup (System.Reflection.Assembly assembly) (at C:/Users/tor_v/Documents/Projects/Sirenix Development Framework/Sirenix Solution/Sirenix.Utilities/Misc/AssemblyUtilities.cs:232) Sirenix.Utilities.AssemblyUtilities.GetAssemblyTypeFlag (System.Reflection.Assembly assembly) (at C:/Users/tor_v/Documents/Projects/Sirenix Development Framework/Sirenix Solution/Sirenix.Utilities/Misc/AssemblyUtilities.cs:204) Sirenix.Utilities.AssemblyUtilities.Reload () (at C:/Users/tor_v/Documents/Projects/Sirenix Development Framework/Sirenix Solution/Sirenix.Utilities/Misc/AssemblyUtilities.cs:107) Sirenix.Utilities.AssemblyUtilities..cctor () (at C:/Users/tor_v/Documents/Projects/Sirenix Development Framework/Sirenix Solution/Sirenix.Utilities/Misc/AssemblyUtilities.cs:178) Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Sirenix.Utilities.AssemblyUtilities Sirenix.OdinInspector.Editor.DrawerLocator..cctor () (at C:/Users/tor_v/Documents/Projects/Sirenix Development Framework/Sirenix Solution/Sirenix.OdinInspector.Editor/Misc/DrawerLocator.cs:76) Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Sirenix.OdinInspector.Editor.InspectorTypeDrawingConfigDrawer Sirenix.OdinInspector.Editor.EditorCompilation.RecompileAsSoonAsPossibleIfEditorsChanged () (at C:/Users/tor_v/Documents/Projects/Sirenix Development Framework/Sirenix Solution/Sirenix.OdinInspector.Editor/Misc/EditorCompilation.cs:332) UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorApplicationBindings.gen.cs:249)

Comments (1)

  1. Bjarke Elias

    Thanks for the bug report and stack-trace. If you can send us an email to tor@sirenix.net with your invoice ID for Odin Inspector, he will send you a hotfix right away.

  2. Log in to comment