private static void CreateDummy() { //Debug.Log(">>>> BuildInfoGenerator.Generate() :: regenerate="+regenerate+", currentScene="+EditorApplication.currentScene); // create dummy object for game info GameObject go = new GameObject("BuildInfo"); go.isStatic = true; go.SetActive(true); // setup build info BuildInfo builInfo = go.AddComponent <BuildInfo>(); builInfo.Init(versionInfo, dateInfo); builInfo.enabled = true; }