Hi,
I tried to make a GUI with NGUI and created a UI without a problem, but when I try to attach a Atlas to the Widget Tool I can't attach it. I just get this Error:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorGUI.ValidateObjectFieldAssignment (UnityEngine.Object[] references, System.Type objType, UnityEditor.SerializedProperty property) (at C:/BuildAgent/work/812c4f5049264fad/Editor/MonoGenerated/Editor/EditorGUI.cs:1941)
UnityEditor.EditorGUI.DoObjectField (Rect position, Rect dropRect, Int32 id, UnityEngine.Object obj, System.Type objType, UnityEditor.SerializedProperty property, UnityEditor.ObjectFieldValidator validator, Boolean allowSceneObjects, UnityEngine.GUIStyle style) (at C:/BuildAgent/work/812c4f5049264fad/Editor/Mono/GUI/ObjectField.cs:39)
UnityEditor.EditorGUI.DoObjectField (Rect position, Rect dropRect, Int32 id, UnityEngine.Object obj, System.Type objType, UnityEditor.SerializedProperty property, UnityEditor.ObjectFieldValidator validator, Boolean allowSceneObjects) (at C:/BuildAgent/work/812c4f5049264fad/Editor/Mono/GUI/ObjectField.cs:12)
UnityEditor.EditorGUI.ObjectField (Rect position, UnityEngine.Object obj, System.Type objType, Boolean allowSceneObjects) (at C:/BuildAgent/work/812c4f5049264fad/Editor/MonoGenerated/Editor/EditorGUI.cs:1893)
UnityEditor.EditorGUILayout.ObjectField (UnityEngine.Object obj, System.Type objType, Boolean allowSceneObjects, UnityEngine.GUILayoutOption[] options) (at C:/BuildAgent/work/812c4f5049264fad/Editor/MonoGenerated/Editor/EditorGUI.cs:3735)
ComponentSelector.Draw[UIAtlas] (System.String buttonName, .UIAtlas obj, .OnSelectionCallback cb, UnityEngine.GUILayoutOption[] options) (at Assets/NGUI_2013/Scripts/Editor/ComponentSelector.cs:35)
ComponentSelector.Draw[UIAtlas] (.UIAtlas obj, .OnSelectionCallback cb, UnityEngine.GUILayoutOption[] options) (at Assets/NGUI_2013/Scripts/Editor/ComponentSelector.cs:54)
UICreateWidgetWizard.OnGUI () (at Assets/NGUI_2013/Scripts/Editor/UICreateWidgetWizard.cs:746)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Applications/buildAgent/work/3df08680c6f85295/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
thanks for helping
