惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
aimingoo的专栏
aimingoo的专栏
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 聂微东
Engineering at Meta
Engineering at Meta
N
Netflix TechBlog - Medium
Blog — PlanetScale
Blog — PlanetScale
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News
D
DataBreaches.Net
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
L
LangChain Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
F
Fortinet All Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks
Recent Announcements
Recent Announcements
Jina AI
Jina AI
G
Google Developers Blog
腾讯CDC
博客园_首页
博客园 - 【当耐特】

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis
Improve gaming app performance with Unity support in Data...
2025-02-27 · via Datadog | The Monitor blog
Jessica Manheimer

Jessica Manheimer

As mobile gaming evolves, players have higher expectations for seamless experiences, real-time interactions, and cross-platform accessibility. Whether you’re developing games for iOS, Android, or another mobile operating system, maintaining and optimizing the performance of your game is critical for player retention. For instance, if a mobile game becomes laggy or begins to drop frames during gameplay, players will grow frustrated and abandon the game altogether. Mobile game developers working with popular engines such as Unity must quickly identify and troubleshoot common performance issues, including crashes that interrupt gameplay, latency issues affecting multiplayer and real-time interactions, poor frame rates leading to laggy animations and sluggish controls, and long load times.

Without real-time observability, identifying and resolving these problems can be time-consuming and difficult. Datadog RUM’s Unity SDK addresses these challenges by capturing real-time in-game telemetry, monitoring player interactions, tracking crashes, and correlating performance data for mobile games. With this SDK, Unity developers can optimize gameplay, improve stability, and maintain player retention by proactively addressing issues before they disrupt the gaming experience.

Datadog RUM is built to fit easily into a Unity developer’s workflow, providing seamless performance monitoring and actionable insights. The diagram below illustrates how the SDK captures performance metrics, crashes, and user interaction data, which is then processed through Datadog’s backend. The processed data is then stored and made accessible through Datadog’s frontend platform, enabling real-time monitoring, visualizations, alerts, and insights.

Diagram illustrating how the SDK captures Unity telemetry

Identify and troubleshoot performance bottlenecks

Setting up Datadog RUM for Unity is quick and requires little manual instrumentation. The SDK automatically records key events such as crash and error reports, monitors network requests made with UnityWebRequest, and logs scene transitions and screen loads that use SceneManager. You can install the Datadog Unity SDK with the Unity Package Manager or via OpenUPM. You’ll then need to enable Datadog within Unity’s project settings to enable monitoring features. For full setup details, refer to the Datadog Unity setup docs.

Enable Datadog in Unity's project settings

After you set up the Unity SDK, real-time performance data will automatically be captured and visualized within Datadog RUM. By viewing performance data within Datadog RUM, you can get a quick overview of your Unity game’s crashes, errors, and Mobile Vitals metrics such as ANR rate, hang rate, and application startup time.

Monitor Unity within Datadog RUM

You can also set alerts to notify you whenever a performance issue arises. For instance, you can set an alert to flag when your Unity game’s hang rate—the amount of time the game becomes unresponsive per hour of gameplay (measured in seconds per hour)—exceeds 5 seconds per hour.

High hang rates mean that players are frequently running into lags, game freezes, or total unresponsiveness. In such an event, you can take mitigating actions such as implementing asynchronous code that enables your game to maintain responsiveness while asynchronous tasks run in the background.

Improve the performance of your gaming app today

Datadog RUM’s Unity SDK helps optimize game performance, ensure player satisfaction, and boost engagement. With real-time visibility into performance data, developers can quickly detect, diagnose, and resolve issues before they impact gameplay. To learn more about how Datadog RUM unlocks the power of real-time performance insights into your Unity game, check out our documentation.

And if you aren’t already using Datadog, sign up today for a 14-day free trial.