Import easyar plugin to enable ar functionality
This tutorial describes how to enable the EasyAR plugin in Unity.
Use compatible unity version
Ensure you have installed a compatible Unity version (Unity 2021.3 or later). It is recommended to use the latest version of Unity 2022.3 or Unity 6.3.
Import easyar sense unity plugin
On the download page, you will see two versions of the Unity plugin: EasyAR Sense Unity Plugin and EasyAR Sense Unity Plugin (for Mega).
The main differences between these two versions are:
- EasyAR Sense Unity Plugin: Does not contain Mega support files and cannot be used for Mega development. EasyAR provides downloads of historical versions starting from 4.6.
- EasyAR Sense Unity Plugin (for Mega): Contains Mega support files and can be used for Mega development. EasyAR does not provide downloads of historical versions.
When Mega functionality is not required, it is recommended to use EasyAR Sense Unity Plugin.
- Download plugin package
- Download the latest version of EasyAR Sense Unity Plugin.
- After unzipping the downloaded
zippackage, you can seereadmeand.tgzfiles. The.tgzfile can be imported directly into Unity and should not be unzipped. - Store the
.tgzfile in thePackagesfolder of your Unity project.
- Import plugin package
- From the menu bar, click
Windowand selectPackage Manager. - In the pop-up window, click the
+sign in the top-left corner and selectInstall Package from tarball .... - In the dialog box that appears, select the aforementioned
.tgzfile.
- From the menu bar, click

Note
The .tgz file cannot be deleted or moved to another location after being imported into Unity. It should be placed in a suitable location before import. It is generally recommended to store it in the Packages folder of the Unity project for version management convenience.
Fill in the license (license key)
From the Unity menu, select EasyAR > Sense > Configuration to bring up the EasyAR Sense settings interface.

Enter the EasyAR Sense License in the input box under EasyAR Sense License.

Tip
EasyAR Sense License can be created from the EasyAR Developer Center (Chinese, English). First-time users can create one by following these steps:

- Create
EasyAR Sense 4.x personal edition - Select
yesfor sparse spatial map, and fill in a random name - Fill in a random application name. For Bundle ID and Package Name, enter
com.mycompany.myproject - Select the newly created license, enter it, and click the copy button on the right

Note
Bundle ID and Package Name can be changed later, but the number of changes is limited. If you have a specific application package name, you can fill in your own.
Personal edition can be created without limitation. Other types can be created as needed during official use.
Next steps
- You can read configure ar scene to learn how to create a simple AR scene.
Related topics
- If you need to develop Mega functionality, you can import the latest version of the EasyAR plugin to enable mega functionality.