private static string LocateAssetFile(string invalidPath) { string fileExtension = Path.GetExtension(invalidPath)?.Replace(".", ""); string newPath = RuntimeUrdf.EditorUtility_OpenFilePanel( "Couldn't find asset at " + invalidPath + ". Select correct file.", UrdfAssetPathHandler.GetPackageRoot(), fileExtension); return(UrdfAssetPathHandler.GetRelativeAssetPath(newPath)); }