Simulated run
Overlay rendering is one of the core features of Mega, effectively addressing physical occlusion, deep fusion, and lighting consistency in complex scenes, ensuring seamless visual integration of virtual objects with the real environment. This feature is suitable for use before development, when application development is incomplete, or when on-site testing conditions are inconvenient.
Preparation
Mega Studio is a Unity development component provided by EasyAR, which includes map browsing and positioning simulation functions. 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.
Download Mega Studio
Mega Studio is provided as a Unity plugin. You need to download EasyAR Sense Unity Plugin (for Mega) from the EasyAR download page and import it into Unity for use.

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

Extract the file. After downloading, extract the file into the structure shown in the image below.

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

Tip
For Unity versions after 6000, you need to download the 3D (Built-In Render Pipeline) component first
Install Mega Studio
Click on the "Window" in the menu bar
Select "Package Manager"
In the pop-up window, click the "+" symbol in the upper-left corner
Select "Add package from tarball..."
Install the sense and mega packages in sequence
After successful installation, it should look like the following

Start simulation run
The simulation positioning test allows you to directly view the overlay rendering effect without full application development. By playing back EIF data in Mega Studio, sending positioning requests, and previewing positioning results through overlay-rendered Mesh, you can achieve this. Here are the specific steps:
Load the map
Right-click in the 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 the EasyAR account name and passwordClick "Login"

If you need to use service login, you can refer to Unity login component.
In the right panel "Inspector", click the icon after "Mega Cloud Service"
In the opened window, select a "Mega Block positioning service", and click "OK"
In the right panel "Inspector", click "Load" to add the map to the Unity project

Load EIF
As shown in the figure below, click on "EasyAR.Mega.Annotation" in the left panel "Hierarchy", then check the validation tool by clicking "2" in the right panel "Inspector", and finally click the button "3" to play.

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

As shown in the figure below, click the load button, select the EIF file you want to test, and click "Open" to automatically play the EIF and view the positioning effect.

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

Feature description
- Play/pause
- Stop
- Forward 5s (available for new format data, except for abnormal recording stops)
- Slow down playback (available for new format data)
- Speed up playback (available for new format data)
- Backward 5s (available for new format data, except for abnormal recording stops)
- Open EIF file
- Current time/total time
- Current playback speed
- Playback progress (draggable for new format data, except for abnormal recording stops)
You can also click "Main Camera" in "Hierarchy" to view the real-time position of the camera during localization.

In the localization display control area, you can check the status of localization:
Show/hide video background
Show/hide annotation data
Show/hide Block model (in URP, the model in the Scene window will also be hidden)
Show/hide button names
Control Block model transparency (not available in URP)

Next steps
- If you want to experience richer simulation runs, you can refer to how to add virtual content during simulation
- For a more detailed operation manual, you can refer to annotation tool component