Skip to main content

Introduction to AR in Unity - Developing environment setup

Please notice that this is the first of a series of tutorials progressing from basic concepts to more functional and complex projects.

Aims

This tutorial aims to get you started creating AR applications using Unity and the Vuforia plug-in.

Prerequisites

  1. Download and install Unity 2019.2.0.
    Previous versions might also work, this tutorial was made using Unity 2019.2 Please be advised to also download the Android and/or the IOS build support as you will need them to create the compiled file of your project (please ead instructions below).

  2. Create a Unity personal account. To use Unity you will have to create our own account as you will be prompted to login when you start running the software.

About the Vuforia Engine

As of 2017.2, Unity integrates the Vuforia Engine, this SDK allows you to easily create AR applications that you can deploy on both Android and IOS devices.

Installing Android and/or IOS build support

In order to compile mobile applications on your computer, you will need to make sure to download the Androir and/or the IOS build support. BothPlease be aware that both Windows and IOS computers might allow you to compile Android apps, however, IOS apps require you to use a MAC computer running Xcode as IOS build is not supported on Windows PCs. AR-vuforia-setup1-f.png

When trying to install either of these SDKs you might find your self facing two different scenarios, on one hand, you might have Unity already installed on your computer and you are missing the SDKs or you are doing a "fresh" Unity installation, both situations require slightly different procedures that will be explained in the following lines.

Scenario #1 - Installing Unity 2019.2b for the first time

First we recommend installing the Unity HUB as it will make your life a lot easier when installing and using Unity 2019.2b the HUB is installed you just need to go to the Unity 2019.2 beta page and click on the button thas says "Install version from Unity HUB" this will automatically open the HUB and then run the installation wizard. You will see a list of all the available Unity components, you just need to make sure that the Android and or the IOS build support is selected befor continuing with the installation.

AR-vuforia-setup1-b.png

Do notice that the Android build support actually includes the Software Development Kit (SDK), the Native Development Kit (NDK) and the Java Development Kit (OpenJDK).

Scenario #2 - Installing Android and/or IOS build support for a previously installed copy of Unity

Again, we recommend installing the Unity HUB as it will make things run smoothly