boolres=EditorUtility.DisplayDialog("Missing dependencies","The packages "+missing+" are required by the A* Pathfinding Project but they are not installed, or the installed versions are too old. Do you want to install the latest versions of the packages?","Ok","Cancel");
if(res){
foreach(vardepinmissingDependencies){
UnityEditor.PackageManager.Client.Add(dep.name);
}
}
}
// E.g. 2023.3.0b8
varv=Application.unityVersion.Split('.');
UnityEngine.Assertions.Assert.IsTrue(v.Length>=3,"Unity version string is not in the expected format");
Debug.LogError("This version of Unity has a bug which causes components in the A* Pathfinding Project to randomly stop working. Please update to unity 2022.3.21 or later.");