Unity Development System

Unity

Unity is a very powerful and easy to use (relative to it’s power) game development environment. It works across many devices, and includes support for VR and AR development.

Installation General Info

Unity is released regularly. Forward and backward compatibility appears not to be guaranteed. Most developers end up with several versions installed (From YouTube/reading.)

Unity can be installed via:

  • Unity installer (specific to each version)
    • can download to a temp folder and install, or download to a location for later use (and install); including 3rd party tools (eg Visual Studio Community Edition)
    • for non-temp downloads, will create an installation script file that will install all selected components - useful to read this script to understand what is needed, command line params, etc
  • Individual Unity components
    • eg editor, shaders, etc
  • Unity Hub link
    • unity Hub is an version and project manager that makes it easier to manage installed Unity versions
    • it can detect and integrate manually downloaded versions

Versions can be found here.

Individual Machine

Download and use Hub!

Network Cache Installation

  • download the unity installer and run
  • select options and download location
    • use the version as part of the destination and download paths
    • enable Visual Studio Community for first time install
      • this option won’t exist if Visual Studio is already installed
      • in this case, run VS Installer and add the Unity Workload
  • will install, and a install batch file will be created where the downloaded files are
  • if Visual Studio Community was included:
    • note the Visual Studio Community options in the install script, and remove the line
    • remove the vs_community.exe
      • this is a network installer; see Visual Studio for setting up a network cached-installation for Visual Studio
  • move downloaded installers to network drive

Installing from Network Cache

  • copy and modify install script and adjust the destination as needed for other machines (keep copy in same directory as downloaded installer files.)
    • /D=path specifies the installation directory (more info)
    • e.g. "C:\Program Files\Unity\Hub\Editor\2019.4.30f1"
  • run Unity, go to preferences, and select Visual Studio as the script editor
  • install Unity Hub and add the manually installed version(s) of Unity

AR

  • Unity AR - AR Foundation is included with Unity for free. MARS (editor for simplifying the process of creating AR apps) is a paid subscription.
  • Vuforia tutorial - Vuforia is an existing framework from PTC that adds AR to Unity. Free to explore, but costs to deploy