Install Unity Versions Save

Script to install Unity 3D versions from the command line on macOS

2.12.0

1 year ago

Changelog

  • Use Unity's official Release API to get release and package information
    • Releases should appear quicker when Unity is slow to update their archive webpage
    • Can directly request information of a specific Unity version from the API
    • No need to load the whole archive, update can be stopped once the last known version is reached
    • Reduces number of requests and amount of data transferred when updating cache
    • Previously synthesized packages are now provided by Unity (Documentation, language packs and Android components)
    • Legacy scraper and ini-based system can still be used for irregular Unity releases
  • Split platform and architecture options (e.g. --platform macOSIntel becomes --platform mac_os --arch x68_64)
  • Added --clear-cache to force clearing the versions and package cache
  • Added --redownload to force redownloading all files
  • Improve handling of already downloaded or partially downloaded files
  • Speed up detecting of current platform (.Net now reports Apple Silicon properly)
  • Speed up detecting installed Unity versions by keeping command line invocations to a minimum
  • Removed support for Unity patch releases
  • Update to .Net 7

2.11.1

1 year ago

Changelog

  • Add warning when Spotlight is disabled and installations cannot be found
  • Update Android packages for Unity 2023.1
  • Fix discovery of beta and alpha releases
  • Fix Apple Silicon packages not saved in cache
  • Fix exception when cleaning up after installing additional packages to an installation at /Applications/Unity

2.11.0

1 year ago

Changelog

  • Add "--upgrade <version>" to run command to upgrade a project to a specific Unity version
  • Fix --allow-newer attempting to downgrade project if project Unity version is newer than installed versions
  • Drop support for mono, using .Net 6 exclusively now
  • Update Homebrew formula, now depends on dotnet instead of mono

2.10.2

2 years ago

Changelog

  • Fix installing additional Android packages failing depending on the install order
  • Fix unzip hanging the installation if some target files already exist
  • Fix formatting of exceptions thrown during the installation process
  • Show path of target Unity installation when installing additional packages

2.10.1

2 years ago

Changelog

  • Fix exception when downloading, because MD5CryptoServiceProvider got trimmed in build
  • Update dependencies

2.10.0

2 years ago

Changelog

  • Add support for installing Apple Silicon editor
  • Use --platform macOSArm to download the Apple Silicon editor on other platforms
  • Use --platform macOSIntel to install Intel editors on Apple Silicon
  • Distribute install-unity as universal binary (using .Net 6 single file support)
  • Fix Unity asking again to upgrade project when upgrade was already confirmed in the interactive prompt
  • Install Android SDK 30 on Unity 2019.4+
  • Install Android Platform Tools 30.0.4 on Unity 2021.1+

2.9.0

2 years ago

Changelog

  • install is now the default action, so e.g. install-unity 2021.1 works
  • Add interactive prompt to upgrade a Unity project with run
  • Fix --opt not being able to set downloadSubdirectory and installPathMac
  • Fix Android SDK Build Tools version with Unity >= 2019.4

2.8.2

3 years ago

Changelog

  • Don't add Documentation package for alpha releases
  • Use Android SDK Platforms 29 for 2019.3+
  • Use Android NDK r21d for 2021.1+
  • Build macOS binary using Native AOT and enable size optimizations

2.8.1

3 years ago

Changelog

  • Add a warning when a project is upgraded with the run command
  • Fix prereleases showing up in overview under "New …" even if they're installed
  • Fix exception during progress bar rendering when resizing console or console is small
  • Disable progress bar when exception occurs during rendering instead of stopping installation

2.8.0

3 years ago

Changelog

  • Calling install-unity without a command shows patch updates and not installed newer minor versions
  • Run checks that the Unity version hash of the project and installation match
  • Run with --allow-newer skips Unity's project upgrade dialog
  • Improve output of run command, show next installed version to upgrade project to
  • Fix run not properly checking the build type of project and installation
  • Fix run with version argument not defaulting to final, now a/b is required to select alpha/beta