Setup Unity Versions & Packages
Last updated
Last updated
We highly recommend using Unity (LTS) verified versions. Initially we built the package using the following Unity version and used the AR Foundation package, ARCore XR Plugin and ARKit XR Plugin. Also you need to import Azure Spatial anchors SDK into your Unity Project.
Unity 2020.2.4 or higher LTS versions
In the Unity hub, under the Installs tab you can add this verified version.
After creating a project using the above mentioned unity version and follow the below steps to import the packages.
Go to the Window and open the Package Manager. Install the following packages into the project.
AR Foundation package 4.1.7
AR Core XR Plugin 4.1.7
AR Kit XR Plugin 4.1.7
Next add the Azure Spatial Anchor SDK for Unity project. For this project we used Azure Spatial Anchor SDK 2.9.0. This version is the latest SDK & this SDK is recommended for all Unity 2020 versions.
Go to ->
Download relevant packages for your Unity Project.
You should download :
com.microsoft.azure.spatial-anchors-sdk.core@2.9.0
This is the core SDK for use in both Android & IOS projects. So both users should download this package.
If you are going to build for Android Platform, download:
com.microsoft.azure.spatial-anchors-sdk.android@2.9.0
If you are going to build for IOS platform, download:
com.microsoft.azure.spatial-anchors-sdk.ios@2.9.0
To import above packages Go to Window -> Package Manager. Click drop down with plus (+) icon at top left corner -> Add package from tarball
First select the downloaded zip mentioned above with the .tgz extension as com.microsoft.azure.spatial-anchors-sdk.core-2.9.0.tgz & import.
Next import the relevant build platform zip with .tgz extension as mentioned above,
com.microsoft.azure.spatial-anchors-sdk.android-2.9.0.tgz or com.microsoft.azure.spatial-anchors-sdk.ios-2.9.0.tgz
Now you are ready to import our Unity package. Go to Assets -> Import Package -> Custom Package
Select Easy AR Spatial Anchors with Azure Cloud unity package & import.