try (InputStream is = getHTTPInputStream(unityUrl)) {
Files.copy(is, tmpFile);
}
// load bundle for validation and to get revision
AssetBundle ab = new AssetBundle();
ab.load(tmpFile);
// create version sub-directory
String version = ab.getEngineVersion().toString();
String versionDirName = version.substring(0, 3);
L.log(Level.INFO, "Revision: {0}", version);
Path versionDir = baseDir.resolve(versionDirName);