pub fn detect_unity_project_dir(dir: &Path, recur: bool) -> Result<PathBuf>