- Home /
I having interface problem and it's nasty! Help please?
NullReferenceException: Object reference not set to an instance of an object UnityEditor.ObjectSelector.OnDisable () (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/ObjectSelector.cs:138)
Hi all Unities,
Could some one please help me solve this issue? I been using coroutine in GUI so this is because of it Unity disable() the object selector so I wonder how could I enable it again? It gave me this warning any one please help for this? Please let me know the way to reopen this?
Answer by Joshua · Apr 24, 2011 at 04:26 PM
You're phrasing is a bit confusing, but look at this explanation of how to hunt down NullReferenceExceptions. Also, try not to execute anything from OnGUI unless you strictly do it once for a certain event - else it might slow your game down significantly.
$$anonymous$$y question is I cannot use the IDE menus for object selector as it should before... So wondering if I could re-enable it again and if this possible how should I do that? Thanks for some pointer tho that wasn't the correction for me...
http://answers.unity3d.com/questions/41106/runtime-error-objectselector
Haha I got this now thanks.
Your answer
Follow this Question
Related Questions
Conflict with DotNet compatibility library and Unity editor mode 1 Answer
Re-compile C# assemblies 1 Answer
Determine WHAT was just compiled........ 1 Answer
I'm creating an editor script console, but failed at Loading UnityEditor assembly 0 Answers
Why do Two Instances of MonoDevelop Open when I double-click a CS file in Inspector? 0 Answers