GOT Online now supports two new runtime capabilities: developers can upload test data through an API and use runtime Tags to define custom test intervals for report statistics. These features make it easier to integrate GOT Online with automated testing workflows and analyze performance across different gameplay scenarios.
Introduction
GOT Online has added two practical features for Unity development and performance testing:
- Upload test data through an API at runtime.
- Define custom test intervals with runtime Tags for interval-based statistics in online reports.
These features are particularly useful when a single test covers multiple scenes or gameplay states, or when teams want to integrate performance profiling into automated testing pipelines.
How Can Unity Developers Compare Performance Across Different Test Scenarios?
In the Overview mode of a GOT Online report, many pages provide important performance metrics such as:
Most of these metrics are calculated as averages across the entire test. This provides an overview of overall performance, but a single test may cover multiple scenes or gameplay scenarios with very different performance characteristics.
For example, one scene may have relatively low CPU usage while another may contain more complex gameplay logic and significantly higher CPU time.
If all data is averaged together, performance spikes in a specific scenario can be diluted by the rest of the test.
To make these differences easier to identify, GOT Online now supports test interval statistics.
Different gameplay scenarios can be treated as separate intervals, allowing developers to analyze performance for each interval independently.
This provides a more detailed view of how performance changes throughout a test instead of relying only on the overall average.
How Can Developers Define Custom Test Intervals at Runtime?
Scene-based intervals may not always be detailed enough.
Even within the same Unity scene, different gameplay states can produce very different performance characteristics. For example, a scene might include exploration, combat, and UI-heavy interactions.
To provide more flexibility, GOT Online introduces the UWAEngine.Tag API.
UWAEngine.Tag
public static void Tag(string tag);
Developers can call this function at runtime to mark a specific test interval.
Once a Tag is applied, it will override the original Unity scene name for the corresponding interval.
As a result, the scene name displayed in the GOT Online report and the interval statistics will use the specified Tag.
This allows development teams to define performance intervals based on actual gameplay states rather than relying only on Unity scene transitions.
For example, instead of analyzing an entire scene as one interval, developers can define separate intervals such as:
- Exploration
- Combat
- Boss Fight
- Inventory
- UI Interaction
The exact Tags depend on the team's testing workflow and what they want to measure.
How Can Developers Automatically Upload GOT Online Test Data?
Performance testing is increasingly being integrated with automated testing workflows.
Many teams are combining GOT with automated testing tools to reduce repetitive manual work and make performance testing easier to run at scale.
Previously, after a test was completed, developers needed to manually click the upload button to send the collected data to GOT Online.
The new runtime upload API allows this step to be automated.
After configuring the required project and account information in advance, test data can be uploaded automatically without manual interaction.
The API is:
UWAEngine.Upload
public static void Upload(Action callback, string user, string pwd, int projectId, int timeLimitSec)
public static void Upload(Action callback, string user, string pwd, string projectName, int timeLimitSec)
The parameters are documented in the SDK documentation.
This makes the API suitable for automated testing workflows where a test can be executed, data can be collected, and the resulting performance data can then be uploaded automatically.
What Should Developers Know About the Runtime Upload API?
There are two important limitations to keep in mind.
1. The automatic upload feature is only available for GOT Online.
It is designed specifically for uploading performance test data to the GOT Online service.
2. IL2CPP compatibility
When using the IL2CPP scripting backend, the API supports Unity 2018 and later.
During the upload process, the application displays an uploading status. After the upload is completed successfully, it displays a completed status.
This provides basic feedback during automated or semi-automated testing workflows.
How Do Runtime Tags and Automatic Upload Work Together?
These two features can also be useful when building a more automated performance testing process.
A typical workflow could be:
Run automated test → Mark gameplay intervals with UWAEngine.Tag → Collect performance data → Upload data with UWAEngine.Upload → Analyze interval statistics in GOT Online
With runtime Tags, developers can define meaningful performance intervals during the test itself.
With runtime upload, the resulting data can be sent to GOT Online automatically.
Together, they reduce manual steps while making performance data more structured and easier to compare across different gameplay scenarios.
What Can Unity Developers Take Away?
The new GOT Online runtime APIs address two common problems in performance testing:
Problem 1: Overall averages can hide local performance issues.
Runtime Tags allow developers to divide a test into meaningful intervals and analyze each interval separately.
Problem 2: Manual data uploads add unnecessary steps to automated testing.
UWAEngine.Upload allows test data to be uploaded automatically after testing.
For teams building automated Unity performance testing workflows, these capabilities can make test data collection and analysis more consistent and easier to integrate into existing pipelines.
FAQ
Can UWAEngine.Tag be used to define performance intervals?
Yes. UWAEngine.Tag(string tag) can be called at runtime to mark test intervals. The specified Tag overrides the original Unity scene name for the corresponding interval in GOT Online.
Does GOT Online only support scene-based performance analysis?
No. Runtime Tags allow developers to define more granular intervals within the same Unity scene based on gameplay states or other testing requirements.
Can GOT Online test data be uploaded automatically?
Yes. UWAEngine.Upload can upload test data automatically after the required project and account information has been configured.
Does automatic upload support IL2CPP?
Yes. For IL2CPP projects, the upload API supports Unity 2018 and later.
About GameOptim GOT Online
GameOptim GOT Online is a cloud-based performance analysis platform for Unity game development. It provides detailed performance data and analysis across areas such as CPU, GPU, memory, Lua, and rendering.
By combining runtime data collection with cloud-based analysis, GOT Online helps development teams identify performance issues, compare different test scenarios, and support performance optimization throughout development and testing.

Top comments (0)