Hey, have anyone faced similar issue with function OnGUI, please see below: I know that it's obsolete function but still I am not getting why its happening. for example, OnGUI I use following simple code: Code (CSharp): private void InitStyles() { if (currentStyle == null) { currentStyle = new GUIStyle(GUI.skin.box); currentStyle.font = font; currentStyle.fontSize = 25; currentStyle.alignment = TextAnchor.MiddleCenter; currentStyle.hover.textColor = Color.red; //this line does not work in built mode currentStyle.normal.background = MakeTex(1, 1, defaultColor); //this line does not work in built mode currentStyle.hover.background = MakeTex(1, 1, hoverColor); //this line does not work in built mode } } Code (CSharp): void OnGUI() { //If its not belong to actual player, return if (!isLocalPlayer) { return; } //end GUI.Label(new Rect(30, Screen.height - 380, 30, 30), Time.time.ToString(), blackText); InitStyles(); //Show properties! if (GetSelectedObjects()[randomlyGeneratedRaceId] != null) //lookObj != null { // Mob mob = lookObj.GetComponent<Mob>(); Mob mob = GetSelectedObjects()[randomlyGeneratedRaceId].GetComponent<Mob>(); _mobProperties = "Name: " + mob.mobName + " [" + convertorType(mob) + "]\n" + "Cost: <b>" + mob.cost + "</b> silver \n" + "Population: " + mob.population + "\n" + "Attack type: " + convertorRange(mob) + " [" + mob.attackRange + " m] \n" + "Hitpoints: " + mob.hp + " [Regen: " + mob.hitPointsRegen + " hp/s]\n" + "Attack speed: " + mob.attackSpeed + " hit/s \n" + "Damage: " + mob.damage + "[" + mob.damageType + "]\n" + "Armor: " + mob.armor + "[" + mob.armorType + "]\n" + "Movement speed: " + mob.movementSpeed + " m/s"; } Rect buildingBtnRect1 = new Rect(0, Screen.height - 70, 70, 70); Rect buildingBtnRect2 = new Rect(71, Screen.height - 70, 70, 70); Rect buildingBtnRect3 = new Rect(142, Screen.height - 70, 70, 70); Rect buildingBtnRect4 = new Rect(213, Screen.height - 70, 70, 70); //Click on button (show lookobj) if (GUI.Button(buildingBtnRect1, new GUIContent("1", _mobProperties), currentStyle)) SetId(0, true); else if (GUI.Button(buildingBtnRect2, new GUIContent("2", _mobProperties), currentStyle)) SetId(1, true); else if (GUI.Button(buildingBtnRect3, new GUIContent("3", _mobProperties), currentStyle)) SetId(2, true); else if (GUI.Button(buildingBtnRect4, new GUIContent("4", _mobProperties), currentStyle)) SetId(3, true); //[Hover] if (buildingBtnRect1.Contains(Event.current.mousePosition)) //Event.current.mousePosition //Input.mousePosition SetId(0, false); else if (buildingBtnRect2.Contains(Event.current.mousePosition)) SetId(1, false); else if (buildingBtnRect3.Contains(Event.current.mousePosition)) SetId(2, false); else if (buildingBtnRect4.Contains(Event.current.mousePosition)) SetId(3, false); //[Hover tooltip] if (lookObj == null) //Structure is already showen, hide tooltip GUI.Label(new Rect(30, Screen.height - 280, 30, 30), GUI.tooltip, blackText); } In unity editor everything works fine (in first video) and in built edition its not working properly (seems like these functions are called just when I move camera). Working in unity editor: Not working in built version: