Hi,
I just downloaded the latest version Unity so that's probably what has caused this problem.
The problem is that when I try and move a sprite in the scene, it won't budge at all and as long as I'm trying to move it a long slew of errors show up on my console.
Error the first:
NullReferenceException: Object reference not set to an instance of an object
UIPanel.get_worldCorners () (at Assets/Function/NGUI/Scripts/UI/UIPanel.cs:623)
UIPanel.get_localCorners () (at Assets/Function/NGUI/Scripts/UI/UIPanel.cs:554)
NGUISnap.Add (UnityEngine.Transform root, UnityEngine.Transform child) (at Assets/Function/NGUI/Scripts/Editor/NGUISnap.cs:101)
NGUISnap.Recalculate (UnityEngine.Transform t) (at Assets/Function/NGUI/Scripts/Editor/NGUISnap.cs:81)
NGUISnap.Recalculate (UnityEngine.Object obj) (at Assets/Function/NGUI/Scripts/Editor/NGUISnap.cs:59)
UIWidgetInspector.OnSceneGUI () (at Assets/Function/NGUI/Scripts/Editor/UIWidgetInspector.cs:608)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.SceneView.CallOnSceneGUI ()
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI ()
UnityEditor.SceneView.OnGUI ()
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Error the second:
The targets array should not be used inside OnSceneGUI or OnPreviewGUI. Use the single target property instead.
UnityEditor.DockArea:OnGUI()
As these errors repeat themselves on the console hundreds of times.
Another error I just noticed whilst typing this, selecting any NUGI item in my scene like a label seems to create hundreds of these errors and stop me from being able to scroll through the scene or move at all until I open the console.
Any ideas?
Thanks
Jack Lewis