Author Topic: 3.5.7 freeze bug: IndexOutOfRangeException with AddClampedBorder  (Read 1675 times)

briangibson

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 26
    • View Profile
got a weird freeze here when playing with some of the 'border' stuff in the sprite inspector-
clicked AddClampedBorder and it froze during "Updating the Atlas, please wait..."
Just thought you might want to know.

Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.023968 seconds (Nothing changed)
IndexOutOfRangeException: Array index is out of range.
  at UIAtlasInspector.AddClampedBorder (.UISpriteData sprite) [0x0010b] in /Users/bc/Unity/xxx/xxx/Assets/NGUI/Scripts/Editor/UIAtlasInspector.cs:443
  at UIAtlasInspector.OnInspectorGUI () [0x007c7] in /Users/bc/Unity/xxx/xxx/Assets/NGUI/Scripts/Editor/UIAtlasInspector.cs:297
  at UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean forceDirty, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect, Boolean eyeDropperDirty) [0x00000] in <filename unknown>:0
UnityEngine.Debug:Internal_LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEditor.InspectorWindow:DrawEditor(Editor, Int32, Boolean, Boolean&, Rect&, Boolean)
UnityEditor.InspectorWindow:DrawEditors(Editor[])
UnityEditor.InspectorWindow:OnGUI()
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView:Invoke(String, Object)
UnityEditor.HostView:Invoke(String)
UnityEditor.DockArea:OnGUI()