diff --git a/unity.inc.php b/unity.inc.php index ada0b04..f2c3487 100644 --- a/unity.inc.php +++ b/unity.inc.php @@ -143,8 +143,7 @@ function guess_unity_app_dir() if(is_file($proj_version_file)) { list($_, $unity_version) = array_map('trim', explode(":", file($proj_version_file)[0])); - if(is_dir("{$path}Hub/Editor/$unity_version/")) - $path .= "Hub/Editor/$unity_version/"; + $path .= "Hub/Editor/$unity_version/"; } return $path; }