Author Topic: Run Time Error UITextureInspector  (Read 2263 times)

MatrixNAN

  • Guest
Run Time Error UITextureInspector
« on: June 10, 2013, 11:05:12 AM »
Hello All,

Line 48 the error is:

ArgumentException: GUILayout: Mismatched LayoutGroup.Repaint
UnityEngine.GUILayoutUtility.BeginLayoutGroup (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options, System.Type LayoutType) (at C:/BuildAgent/work/7535de4ca26c26ac/Runtime/ExportGenerated/Editor/GUILayoutUtility.cs:208)
UnityEngine.GUILayout.BeginHorizontal (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at C:/BuildAgent/work/7535de4ca26c26ac/Runtime/ExportGenerated/Editor/GUILayout.cs:233)
UnityEngine.GUILayout.BeginHorizontal (UnityEngine.GUILayoutOption[] options) (at C:/BuildAgent/work/7535de4ca26c26ac/Runtime/ExportGenerated/Editor/GUILayout.cs:225)
UnityEditor.EditorGUILayout.ObjectField (System.String label, UnityEngine.Object obj, System.Type objType, Boolean allowSceneObjects, UnityEngine.GUILayoutOption[] options) (at C:/BuildAgent/work/7535de4ca26c26ac/Editor/MonoGenerated/Editor/EditorGUI.cs:4419)
UITextureInspector.DrawProperties () (at Assets/NGUI/Scripts/Editor/UITextureInspector.cs:48)
UIWidgetInspector.OnInspectorGUI () (at Assets/NGUI/Scripts/Editor/UIWidgetInspector.cs:754)
UnityEditor.InspectorWindow.DrawEditors (Boolean isRepaintEvent, UnityEditor.Editor[] editors, Boolean eyeDropperDirty) (at C:/BuildAgent/work/7535de4ca26c26ac/Editor/Mono/Inspector/InspectorWindow.cs:863)
UnityEditor.DockArea:OnGUI()

Not sure if this is a bug in NGUI or problem with my setup?

Cheers,
Nate Nesler

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Run Time Error UITextureInspector
« Reply #1 on: June 10, 2013, 02:37:27 PM »
I've seen it happen when adding a new sprite to an atlas since Unity 4.0 (it broke something in that release). Fortunately it's a completely harmless message and can be ignored. When are you getting it?

MatrixNAN

  • Guest
Re: Run Time Error UITextureInspector
« Reply #2 on: June 11, 2013, 12:10:41 AM »
Seems to appear only when I hit the start button or go to a new level.  I thought maybe it had something to do with the all my depths getting trashed on the new update of unity with my NGUI interface level.  I bought that new tool for finding the depths and that is helping however I am having problems where when I mouse over buttons the text completely disappears, and then comes back when I don't mouse over it.  I had to move some elements around to keep them from disappearing when scrolling previously.  With this newest update of Unity I can now set the Z depth as much as I like hundreds of units in both the positive and negative direction and elements no longer materialize in game any more at all.  I don't know what happened with the latest update of unity but it really wretched the depths for my NGUI interface.  Note this is a really complex interface with scolling panes inside of scrolling panes and other panes that do not scroll and dynamically generated elements, etc.  I think I am just about scared to update unity after this. 

Cheers,
Nate Nesler