Topic: ArgumentOutOfRangeException: Length cannot be less than zero.
Hello, The tool is just great, it makes work extremely easy. But now I get the following message every second.
ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
System.String.Substring (System.Int32 startIndex, System.Int32 length) (at <695d1cc93cca45069c528c15c9fdd749>:0)
InfinityCode.uContext.Tools.HierarchyHeader.OnHierarchyItem (InfinityCode.uContext.HierarchyItem item) (at Assets/Plugins/Infinity Code/uContext/Scripts/Editor/Tools/HierarchyHeader.cs:121)
InfinityCode.uContext.HierarchyItemDrawer.OnHierarchyItemGUI (System.Int32 id, UnityEngine.Rect rect) (at Assets/Plugins/Infinity Code/uContext/Scripts/Editor/Managers/HierarchyItemDrawer.cs:53)
UnityEngine.Debug:LogException(Exception)
InfinityCode.uContext.Log:Add(Exception) (at Assets/Plugins/Infinity Code/uContext/Scripts/Editor/Core/Log.cs:13)
InfinityCode.uContext.HierarchyItemDrawer:OnHierarchyItemGUI(Int32, Rect) (at Assets/Plugins/Infinity Code/uContext/Scripts/Editor/Managers/HierarchyItemDrawer.cs:57)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
after about 5 minutes I'm already at over 400,000 messages.
unfortunately I don't know how to fix it.
Since at some point my system is slowed down by it, it happens now and then that my system then freezes for 1-2 seconds.
I am using Unity 2020.3.10f1