Your comments
The Console throws Exception when SetIcon runs, even through standard setting war applied in Demo,
NullReferenceException: Object reference not set to an instance of an object
HideNonG4AObjects.SetIcon (UnityEngine.GameObject gObj, UnityEngine.Texture2D texture) (at Assets/game4automation/private/Editor/HideNonG4AObjects.cs:77)
HideNonG4AObjects.ClearIcon (UnityEngine.GameObject gObj) (at Assets/game4automation/private/Editor/HideNonG4AObjects.cs:71)
HideNonG4AObjects.Hide (UnityEngine.GameObject gameobject, System.Boolean hide) (at Assets/game4automation/private/Editor/HideNonG4AObjects.cs:66)
HideNonG4AObjects.OnSelectionChange () (at Assets/game4automation/private/Editor/HideNonG4AObjects.cs:22)
UnityEditor.Selection.Internal_CallSelectionChanged () (at <30f6603df62948f6b4defd8985cceaee>:0)
Customer support service by UserEcho
Unity Version 2021.2.8f1c1 and I updated my game4automation pakage to the latest release.