GUI Error - Method not found: 'GUI.BeginGroup'.

Hey Community,
I’ve got a “Method not found: ‘GUI.BeginGroup’.” Exception in this code section:

function OnGUI(){
GUI.BeginGroup(Rect(Screen.width - 205, Screen.height - 105, 200, 100));
	
	GUI.DrawTexture(Rect(0,0,200,100), GUIAmmunitionBackground);
	
GUI.EndGroup();
}

So how can I fix it?

Greetings,
TheCSharpFreak (wich forgot his login name/pasword :P)

Did you… by any chance name your script ‘GUI.js’? Because that would be a problem. See if explicity using ‘UnityEngine.GUI.whatever’ works.