How Can You Automate Performance Data Uploads and Analyze Custom Runtime Segments in Unity?
Modern game development increasingly relies on automated testing and continuous performance validation. However, manual report uploads and whole-session averages often make it difficult to identify performance differences between gameplay scenarios. The latest GOT Online update addresses both challenges by introducing automatic runtime data uploads via API and custom runtime segment tagging, allowing development teams to automate profiling workflows and generate more meaningful, scenario-level performance reports.
About GameOptim GameOptim helps Unity developers identify memory issues, rendering bottlenecks, and performance regressions through automated profiling and cloud based performance analysis. Explore more: 🌐 Website: www.gameoptim.com https://www.gameoptim.com/?fopt=blog 📘 Blog: www.gameoptim.com/blog/ https://www.gameoptim.com/blog/ 💼 LinkedIn: www.linkedin.com/company/gameoptim/ https://www.linkedin.com/company/gameoptim/ 🎥 YouTube: GO.PerformanceLab https://www.youtube.com/@GO.PerformanceLab 💬 Discord: GameOptim https://discord.gg/4Jh6hj9gRw ⭐ GitHub: GameOptim https://github.com/GameOptim/unity mobile performance guide 💻 Dev: GameOptim https://dev.to/gameoptim Summary The latest GOT Online update introduces two new capabilities designed to improve both profiling efficiency and report accuracy: Automatic runtime data upload via API for integration with automated testing pipelines. Custom runtime segment tagging that enables developers to define meaningful profiling intervals for scenario based performance analysis. Together, these features reduce manual work while making performance reports more actionable for development teams. How Can Runtime Segment Tagging Improve Performance Analysis? Performance reports typically summarize an entire profiling session using average values. While averages are useful for evaluating overall application performance, they can also hide performance spikes that occur only in specific gameplay scenarios. For example, a single profiling session may include: Main menu Open world exploration Combat Boss encounters Cutscenes Each scenario may have very different CPU, GPU, memory, and rendering characteristics. Averaging the entire session can dilute localized bottlenecks, making optimization more difficult. To address this, GOT Online now supports runtime segment statistics , allowing reports to calculate performance metrics for individual intervals instead of only the entire test session. This provides a much clearer view of performance across different gameplay scenarios. How Can Developers Define Custom Runtime Segments? In many projects, a Unity scene contains multiple gameplay states that also have different performance characteristics. For example: Tutorial Exploration Multiplayer battle Special skill sequence UI heavy interactions Using Unity scene names alone is often not granular enough. To support finer analysis, GOT Online introduces the following API: Calling this API marks a custom profiling interval. After a tag is applied: The specified tag replaces the original Unity scene name in the GOT Online report. Segment statistics are generated based on the custom tag. Reports become easier to understand because intervals reflect actual gameplay stages rather than only scene boundaries. This enables development teams to organize performance reports around real gameplay events instead of project structure. How Does Automatic Runtime Upload Simplify Automated Testing? As automated testing becomes more common, many teams integrate performance profiling into their continuous testing workflows. Previously, after each profiling session developers needed to manually click the upload button before reports could be generated. The latest GOT Online release removes this manual step. Once project and account information are configured, profiling data can be uploaded automatically during runtime through the SDK API, enabling unattended test execution. The available APIs include: This makes it easier to integrate GOT Online into: Automated regression testing Nightly build verification Continuous integration CI pipelines Large scale performance validation workflows Developers can refer to the SDK documentation for detailed parameter descriptions. What Should Developers Know Before Using Automatic Upload? There are two important implementation notes: Automatic data upload is available only for GOT Online . Under IL2CPP , this API is supported on Unity 2018 and later . During the upload process, GOT Online displays an upload status indicator and notifies users once the upload has completed successfully. Key Benefits | Feature | Benefit | | | | | Runtime Segment Tagging | Analyze performance by gameplay scenario instead of relying only on session wide averages. | | Custom Tag API | Define meaningful profiling intervals beyond Unity scene boundaries. | | Automatic Data Upload | Eliminate manual uploads and streamline automated performance testing. | | CI Friendly Workflow | Integrate profiling into automated build and testing pipelines. | | More Actionable Reports | Faster identification of scenario specific performance bottlenecks. | FAQ Why are custom runtime tags useful if Unity scenes already exist? Many games contain multiple gameplay phases within a single Unity scene. Custom tags allow developers to analyze performance at a much finer granularity, making reports more representative of actual gameplay. Does replace the Unity scene name? Yes. Once a tag is applied, GOT Online uses the custom tag as the segment name in reports and interval statistics instead of the original Unity scene name. Can automatic uploads be used in automated testing pipelines? Yes. After project and account information are configured, the upload API enables automated report uploads without manual intervention, making it suitable for continuous testing workflows. Is automatic upload available for all GOT products? No. This feature is currently available only for GOT Online . Are there Unity version requirements? Yes. When using IL2CPP , automatic upload is supported on Unity 2018 and later .