Build error in version 2020.05

You need to replace in Global.cs these two methods:

        public static List<string> GetGroups()
        {

            var groups = GetAllSceneComponents<group>();
            var Groups = new List<string>();
            #if UNITY_EDITOR
            foreach (Group group in groups)
            {
                if (EditorUtility.IsPersistent(group.transform.root.gameObject))
                    continue;
                if (!Groups.Contains(group.GroupName))
                    Groups.Add(group.GroupName);
            }
            Groups.Sort();
            #endif
            return Groups;
        }

        public static List<gameobject> GetAllWithGroup(string group)
        {
            List<gameobject> list = new List<gameobject>();
            var groupcomps = UnityEngine.Resources.FindObjectsOfTypeAll(typeof(Group));
#if UNITY_EDITOR
            foreach (var comp in groupcomps)
            {
                var gr = (Group) comp;
                if (EditorUtility.IsPersistent(gr.transform.root.gameObject))
                    continue;
                if (gr.GroupName == group)
                    list.Add(gr.gameObject);
            }
#endif
            return list;
        }

Ist dieser Artikel hilfreich?