Welcome,
Guest
. Please
login
or
register
.
October 06, 2024, 06:12:04 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
NullReferenceException
« previous
next »
Print
Pages: [
1
]
Author
Topic: NullReferenceException (Read 2827 times)
trzmiel
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 1
NullReferenceException
«
on:
January 09, 2015, 07:54:51 AM »
The new error appears since I upgraded the Unity to current version (4.6.1). The error occurs only in editor and is connected with anchoring. Anchoring in editor doesn't work - GUI is messed up. But in play mode everything is ok. Any help would be appreciated.
NullReferenceException: Object reference not set to an instance of an object
UIPanel.get_worldCorners () (at Assets/NGUI/Scripts/UI/UIPanel.cs:598)
UIPanelInspector.OnSceneGUI () (at Assets/NGUI/Scripts/Editor/UIPanelInspector.cs:85)
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 () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/SceneView/SceneView.cs:1660)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/SceneView/SceneView.cs:1079)
UnityEditor.SceneView.OnGUI () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/SceneView/SceneView.cs:989)
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)
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: NullReferenceException
«
Reply #1 on:
January 10, 2015, 12:09:03 PM »
You need to update your NGUI...
Logged
reegankens
Newbie
Thank You
-Given: 1
-Receive: 0
Posts: 4
Re: NullReferenceException
«
Reply #2 on:
February 10, 2015, 03:15:29 AM »
Thanks.
Logged
VitorR
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 3
Games and apps developer for Android and iOS
Re: NullReferenceException
«
Reply #3 on:
February 11, 2015, 03:48:12 AM »
I was having this problem as well, I'll try this. Thanks!
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
NullReferenceException