Table of Contents

How to install unity and use mega studio

This article will introduce how to install Unity and how to download and load the Mega Unity plugin to use Mega Studio in the Unity editor.

Install the unity long-term support (lts) release of version 2021.3 or later

Download the installer from the Unity official website. In Mainland China, you can obtain the installation package from the Unity Chinese page. Follow the official instructions for installation.

You can first download Unity Hub, then select the Unity version on the web page and download it through Hub, or select and install it directly in Unity Hub.

Install unity on the web page

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 a project.

Download the mega unity plugin

Download page navigation

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

Download mega plugin

Download EasyAR Sense Unity Plugin(for Mega).

Unzip files

After unzipping the downloaded .zip file, you will get the following directory structure:

Important

Note: Do not unzip the .tgz files. These are Unity packages and need to be imported directly through the Unity Package Manager.

.
└── EasyARSenseUnityPluginForMega_**.zip         # Full installation 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 explanation: ** in the file name represents the version number, in the format: Major.Minor.Patch + BuildNum.BuildHash. Please refer to the latest official release.

Import packages (upm packages) into the project

Import in order:

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

Before importing, it is recommended to copy the .tgz files to your Unity project folder (e.g., store them in 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, then click the + sign in the top-left corner of the pop-up window and select Install package from tarball...

Install package

Create the annotation tool

Right-click in the Hierarchy panel, select EasyAR Mega > Tool > Annotation Tool (Edit Mode) to create the annotation tool.

Create annotation tool

Use mega studio after logging in

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

Log in to mega studio

After successful login, you can use the editor features of Mega Studio.

Mega studio login successful

Next steps