Add the plugin to a new project
The ArcGIS Maps SDK for Unity is a Unity plugin with the source code and sample assets. Make sure that you download the plugin before starting this page.
Create a new project
To create a new project, open Unity Hub and select the Projects tab, then click the New project button.
In the pop-up window, define the following:
- Editor Version: ArcGIS Maps SDK for Unity supports Unity 2021.3.x LTS. If you have multiple Unity editor versions installed, select the supported editor version at the top of the pop-up window.
- Templates: The plugin supports both the High Definition Render Pipeline (12.x) and the Universal Render Pipeline (12.x). You may need to download these templates if this is your first time using them by clicking the Download template button. If you select templates other than the HDRP or URP templates, install the render pipeline package manually. (The Legacy built-in render pipeline is not supported.)
- Project Name: Sets the name of the main project folder, which stores the assets, scenes, and other files related to your project
- Location: Sets where your project is stored in your computer's file system. The default project location is set to the home folder on your computer.
Install the plugin
You can install the plugin via the Unity Package Manager.
Open the project in the Editor where you want to import the package.
In the top menu, click on Window > Package Manager to open the Package Manager window.
Click on the + icon in the Package Manager window.
Select Add package from tarball from the list and bring up a file browser.
Navigate to the folder where you saved your tarball file.
With the plugin installed, you can find the ArcGIS Maps SDK folder under the Packages section in the Project window. See Unity's Package Manager for more information about the Package Manager and how it works.
Import sample assets
ArcGIS Maps SDK for Unity comes with additional samples and tools that can be used to add functionality and visual fidelity to your scene.
To import sample assets that comes with the plugin:
In the top menu, click on Window > Package Manager to open the Package Manager window.
Select ArcGIS Maps SDK for Unity from the list on the left side.
Click on Samples on the right side panel to expand the section.
Click on the Import button next to All Samples.
When the sample assets are imported to the project, you can find the folder and its content under Assets > Samples in the Project window.