//Instead of title = "Custom Gui Window Title" //Use this titleContent = new GUIContent("Custom Gui Window Title");