Simulation run
Overlay rendering is one of the core features of Mega, effectively handling physical occlusion, deep fusion, and lighting consistency issues in complex scenes, ensuring virtual objects seamlessly integrate with the real environment visually. This feature is suitable for use before development, when application development is incomplete, or when on-site testing conditions are inconvenient.
Preparations
Mega Studio is a Unity-side development component provided by EasyAR, including map browsing and positioning simulation features. It specifically includes the Block Viewer for Unity Developer, Block Viewer, and Annotation Tool tools. If you have already installed Mega Studio, you can skip this step.
Downloading Mega Studio
Mega Studio is provided in the form of a Unity plugin. You need to download the EasyAR Sense Unity Plugin (for Mega) from the EasyAR download page, then import it into Unity for use.

When downloading, you need to agree to the "Privacy Policy" and "Compliance Guidelines," then click "Download."

File extraction: Unzip the downloaded file to achieve the structure shown below.

Creating a Unity project
Run Unity and create a project.
Click "New Project"
Select "3D (Built-In Render Pipeline)"
Click "Create project"

Tip
Versions after Unity 6000 require downloading the 3D (Built-In Render Pipeline) component first.
Installing Mega Studio
Click "Window" on the menu bar.
Select "Package Manager."
In the pop-up window, click the "+" symbol in the top-left corner.
Select "Add package from tarball..."
Install the
senseandmegapackages sequentially.After successful installation, it will appear as shown below.

Starting the simulation run
The simulation positioning test allows you to directly view the overlay rendering effect without needing a complete application development process. By replaying EIF data within Mega Studio, sending positioning requests, and overlaying rendered Mesh, you can preview the positioning results. The following is the specific operation process:
Loading the map
Right-click in a blank area of the left panel "Hierarchy," select "EasyAR Mega" -> "Tool" -> Import "Annotation Tool (Edit Mode)".

Select "EasyAR.Mega.Annotation" in the left panel "Hierarchy."
In the right panel "Inspector," select
Account, and enter your EasyAR account name and password.Click "Login."

If you need to log in using a service, refer to Unity Login Component.
In the right panel "Inspector," click the icon next to "Mega Cloud Service."
In the opened window, select a "Mega Block positioning service," then click "OK."
In the right panel "Inspector," click "Load" to add the map to the Unity project.

Loading EIF
As shown below, click "EasyAR.Mega.Annotation" in the left panel "Hierarchy," then in the right panel "Inspector," click "2" to check the verification tool, and finally click button "3" to play.

After clicking tab "4," the "Mega Validation Tool" window will display separately.

Click the load button as shown below, select the EIF file used for your test, click "Open," and the EIF will automatically play, allowing you to view the positioning effect.

Displaying positioning content
After loading the EIF, "EasyAR.Mega.Annotation" will automatically play the EIF and perform positioning. You can view the Mesh overlay effect in Game. You can adjust the model rendering transparency to view the positioning effect. You can also drag the progress bar to adjust the start time of playback.

Function description:
- Play/Pause
- Stop
- Forward 5s (available for new format data, except when recording stopped abnormally)
- Slow down playback (available for new format data)
- Speed up playback (available for new format data)
- Backward 5s (available for new format data, except when recording stopped abnormally)
- Open EIF file
- Current time/Total time
- Current playback speed
- Playback progress (draggable for new format data, except when recording stopped abnormally)
You can also click "Main Camera" in "Hierarchy" to view the real-time position of the camera during positioning.

In the positioning display control area, you can view the positioning status:
Show/Hide video background
Show/Hide annotation data
Show/Hide Block model (in URP, it will also hide the model in the Scene window)
Show/Hide button names
Control Block model transparency (not available in URP)

Next steps
- If you need to experience a richer simulation run, refer to How to add virtual content during simulation
- For a more detailed operation manual, refer to Annotation Tool Component