Table of Contents

How to install Unity and use Mega Studio

This article introduces how to install Unity and how to download and load the Mega Unity plugin to use Mega Studio in the Unity Editor.

Install Unity long-term support version (LTS) 2021.3 or later

Get the installer from the Unity official website. In mainland China, you can get the installer from the Unity Chinese page. Follow the official instructions to install it.

You can download Unity Hub first, then select a Unity version on the webpage and download it from Hub, or select and install it in Unity Hub.

Install Unity from webpage

Create a new Unity project

Use Built-in Render Pipeline.

Create project

Download template

In some versions, such as Unity 6, you need to download the corresponding template before creating the project.

Download the Mega Unity plugin

Download page navigation

Log in to your EasyAR account and go to the download page.

Download Mega plugin

Download EasyAR Sense Unity Plugin(for Mega).

Extract files

After extracting the downloaded .zip archive, you will get the following directory structure:

Important

Note: do not extract .tgz files. These are Unity packages and must be imported directly through Unity Package Manager.

.
└── EasyARSenseUnityPluginForMega_**.zip         # Complete installer package
    ├── com.easyar.mega-**.tgz                   # Contains annotation tool and Block browser tool
    ├── com.easyar.sense-**.tgz                  # Contains EasyAR Sense core library and Unity plugin
    ├── readme.cn.txt                            # Chinese readme file
    └── readme.en.txt                            # English readme file

Version number description: ** in the file name represents the version number, in the format Major.Minor.Patch + BuildNum.BuildHash. Use the latest officially released version.

Import packages into the project (UPM packages)

Import them in order:

com.easyar.sense-**.tgz
com.easyar.mega-**.tgz
Note

Before importing, it is recommended to copy the .tgz files into your Unity project folder first (for example, store them under the Packages directory). After importing, do not move or delete these .tgz source files, otherwise Unity will not be able to load the corresponding packages.

Click Window > Package Management > Package Manager, click the + sign in the upper-left corner of the pop-up window, and select Install package from tarball...

Install package

Create annotation tool

Right-click an empty area in the Hierarchy panel and choose EasyAR Mega > Tool > Annotation Tool (Edit Mode) to create the annotation tool.

Create annotation tool

Log in and use Mega Studio

Click EasyAR.Mega.Annotation in the Hierarchy panel, enter your EasyAR account and password in the Inspector panel, and click log in.

Log in to Mega Studio

After logging in successfully, you can use the editor functions of Mega Studio.

Successfully logged in to Mega Studio

Next steps