// Returns also hidden packages
    public static UnityEditor.PackageManager.PackageInfo[] GetAllVisiblePackages()
    {
        return(PackageManagerUtilityInternal.GetAllVisiblePackages(
#if UNITY_2019_2_OR_NEWER
                   skipHiddenPackages: false
#endif
                   ));
    }
 public static UnityEditor.PackageManager.PackageInfo[] GetAllVisiblePackages()
 {
     return(PackageManagerUtilityInternal.GetAllVisiblePackages());
 }