16
NGUI 3 Support / NullReferenceException from NGUITransformInspector?
« on: February 13, 2014, 03:06:33 AM »
Been getting this error quite a lot recently even with the latest NGUI so I thought you should know about it.
It happens during editor-time - My console gets blown with +999 errors.
There's also the same error for GameObjectInspector too - "Inspector/GameObjectInspector.cs:91"
- NullReferenceException: (null)
- UnityEditor.SerializedObject..ctor (UnityEngine.Object[] objs) (at C:/BuildAgent/work/d3d49558e4d408f4/artifacts/EditorGenerated/SerializedPropertyBindings.cs:69)
- UnityEditor.Editor.GetSerializedObjectInternal () (at C:/BuildAgent/work/d3d49558e4d408f4/artifacts/EditorGenerated/EditorBindings.cs:117)
- UnityEditor.Editor.get_serializedObject () (at C:/BuildAgent/work/d3d49558e4d408f4/artifacts/EditorGenerated/EditorBindings.cs:110)
- NGUITransformInspector.OnEnable () (at Assets/External/NGUI/Scripts/Editor/NGUITransformInspector.cs:168)
It happens during editor-time - My console gets blown with +999 errors.
There's also the same error for GameObjectInspector too - "Inspector/GameObjectInspector.cs:91"