My Unity editor always have get a error !!!

I know it is null object error → NullReferenceException: Object reference not set to an instance of an object

but… what is it? → UnityEngine.GUIUtility.GetControlID (Int32 hint, FocusType focus, Rect position)

I open any project have get this error!

and I click the error and have a Object Selecter (Script), but I have not create this script.

Have anyone know what is it?

hmm the Object Selecter script is probably a script built into Unity. Did you install from some other place besides unity3d.com ? If so then it could be you got a corrupt file. And if you did get it from unity's website is it Unity Pro? If not i suggest trying to unistall and then reinstall the program.

thanks! I'll see what I can do

1 Answer

1

i have the same error dude… and i just uninstall it run CCleaner and reinstall it, works fine.

Thanks for answer! But my unity have not error now.

@Sorin_Fayte can I see the bit of code that moves the enemies? maybe the problem is there...