Onsite usage and simulation run
This article introduces the configuration differences of Mega when used onsite and in offsite simulation runs, and how to configure according to requirements.
Differences between onsite usage and simulation run
Mega uses GNSS (GPS, BeiDou, etc.) information to assist the positioning process, improving positioning accuracy and stability. During onsite usage, the device's GNSS information is accurate and can be used to assist positioning. However, during offsite simulation runs, the device's GNSS information does not match the environment, and this data cannot be used to assist positioning—instead, it may negatively affect positioning performance. Therefore, Mega provides two different configurations to accommodate the needs of onsite usage and offsite simulation runs.
The default configuration is the simulation run configuration to avoid positioning failures caused by incorrect configurations during initial use.
In the simulation run configuration, a warning message will always be displayed on the screen. This message cannot be turned off to ensure the application is not released to end users with incorrect configurations.

Tip
To disable the warning message, ensure the application will only be used onsite and use the onsite configuration.
Configure for offsite simulation run
Select the Mega Tracker object under the session, locate the MegaTrackerFrameFilter component, and set Location Input Mode to the Simulator option to enable the simulation run configuration.
![]()
In scripts, you can set MegaTrackerFrameFilter.LocationInputMode to Simulator to achieve the same effect.
Note
When using EIF files for simulation runs, this option will automatically be set to FramePlayer and cannot be changed to ensure the GNSS data recorded in the EIF file is used correctly.
Configure for onsite usage
Select the Mega Tracker object under the session, locate the MegaTrackerFrameFilter component, and set Location Input Mode to the Onsite option to enable the onsite usage configuration.
![]()
In scripts, you can set MegaTrackerFrameFilter.LocationInputMode to Onsite to achieve the same effect.
Caution
If the onsite configuration is incorrectly used during offsite simulation runs, it may lead to positioning failures and affect content display.