- Home /
Can't use any GUI functions
Whenever I try to use a GUI command it doesn't work and I get an error:
MissingMethodException: GUI.Button Boo.Lang.Runtime.DynamicDispatching.MethodDIspatcherFactory.ProduceExtensionDispatcher ()
I've got no clue what is causing this, any help would be appreciated, I'm kind of stuck where I am until I can start with the menus.
Comment
Well, are you trying to use them outside of OnGUI()? That's a no-no.
If you have anything (class, function, variable) named GUI you need to rename it.
Answer by Robb · May 23, 2013 at 12:27 PM
Yeah, I solved this shortly after posting the problem. As Loius said, if you have a script called GUI then Unity shows this error.