We're Hiring!

Approov Announces Support for the Unity Engine- Strengthening Mobile Game Security

A dynamic scene showcasing the integration of security measures in a mobile game development environment- A developer working on a computer

As the mobile gaming industry continues to grow, so does the importance of robust security measures. Game developers face increasing pressure to protect their apps and user data from sophisticated cyber threats. In response, Approov has launched a Quickstart for UnityWebRequest, designed to enhance the security of mobile games developed using Unity. This initiative not only simplifies the integration of advanced security features but also underscores the importance of app attestation in safeguarding mobile applications.

Why Security in Mobile Gaming Matters

Mobile gaming is a booming industry, with millions of players worldwide. However, this popularity also attracts malicious actors who seek to exploit vulnerabilities for financial gain or to cause disruption. Protecting the integrity of mobile games is crucial for maintaining player trust and ensuring a safe gaming environment.

Mobile apps, including games, are particularly vulnerable to attacks such as API abuse, data breaches, and unauthorised access. Traditional security measures often fall short in addressing these sophisticated threats. This is where app attestation and advanced security solutions come into play, providing an additional layer of protection that is essential in today’s threat landscape​​​​​​.

Introducing Approov Quickstart for UnityWebRequest

Approov’s Quickstart for UnityWebRequest is a powerful tool designed to help Unity developers integrate app attestation seamlessly into their mobile games. This Quickstart provides a streamlined setup process, allowing developers to implement security features quickly and efficiently.

Key Features of the Quickstart:

  1. Ease of Integration: The Quickstart is designed to hook into the existing UnityWebRequest framework, minimizing the need for extensive code modifications. This ensures a smooth and hassle-free integration process.
  2. Robust Security: By leveraging Approov’s app attestation technology, the Quickstart ensures that only legitimate instances of your game can interact with your backend servers. This significantly reduces the risk of unauthorized access and API abuse.
  3. Dynamic Updates: The Quickstart supports over-the-air dynamic updates, allowing developers to keep their security measures up to date without requiring manual intervention. This is crucial for responding to emerging threats and maintaining robust security over time​​.

How App Attestation Works

App attestation is a security measure that verifies the integrity of a mobile app and ensures that it has not been tampered with. When integrated into a mobile game, app attestation can:

  • Validate App Authenticity: Ensure that only genuine, unaltered versions of the app can access backend services.
  • Protect API Keys: Securely deliver API keys and secrets to authenticated apps, preventing their exposure to malicious actors.
  • Enhance Data Security: Safeguard sensitive user data by ensuring that it is only accessible to legitimate app instances​​​​.

Implementing Approov’s Quickstart for UnityWebRequest

To get started with Approov’s Quickstart for UnityWebRequest, developers can follow the comprehensive guide available on Approov’s GitHub repository. The process involves:

  1. Downloading the Github repository: Includes the Approov protected UnityWebRequest classes
  2. Download the Approov SDK: Use your credentials to download the binary SDKs from Approov
  3. Integrating with UnityWebRequest: Modify your code to use the Approov protected UnityWebRequest class
  4. Testing and Deployment: Thoroughly test the integration to ensure it works seamlessly before deploying it to production​​


Approov’s Quickstart for UnityWebRequest represents a significant advancement in mobile game security. By simplifying the integration of app attestation, Approov empowers developers to protect their games and user data from evolving cyber threats. This initiative not only enhances the security of individual apps but also contributes to a safer mobile gaming ecosystem overall.

For more details on how to implement this Quickstart and enhance the security of your mobile games, visit Approov’s GitHub repository. By prioritizing security, game developers can ensure a safer and more trustworthy gaming experience for all players.

About Unity Technology

Unity Technologies developed the Unity game engine. It was first announced and released in June 2005 at Apple's Worldwide Developers Conference as a Mac OS X game engine.Some popular games that run on the Unity engine include:

  • Call of Duty: Mobile
  • Pokémon GO
  • Cuphead
  • Hollow Knight
  • Ori and the Blind Forest
  • Escape from Tarkov
  • Rust
  • Hearthstone
  • Cities: Skylines
  • Rick and Morty: Virtual Rick-ality
  • Subnautica
  • Monument Valley
  • Alto's Adventure
  • Inside
  • Superhot
  • And many more indie and AAA titles across various platforms like PC, consoles, mobile, VR/AR, etc.

Unity has become an incredibly popular engine, especially for indie game development and mobile games, due to its ease of use, cross-platform capabilities, and a large asset store with ready-made assets and tools. Major game studios like EA, Square Enix, Ubisoft, Bandai Namco, and more utilize Unity for developing games across multiple platforms.

Unity is a popular game engine used for creating 2D and 3D games across multiple platforms like PC, consoles, mobile devices, and the web. It provides a comprehensive development environment and a rich set of tools and features for game development.

UnityWebRequest API

The UnityWebRequest API is a part of Unity's networking utilities that allows developers to send HTTP/HTTPS requests from within their Unity games or editor scripts. It provides a simple and efficient way to communicate with web servers and APIs.

Some key features of the UnityWebRequest API:

  • Supports various HTTP methods like GET, POST, PUT, DELETE, etc.[1]
  • Can send form data, raw data, or multipart form data in requests.[2]
  • Allows setting custom request headers and handling cookies.[3]
  • Provides options to handle redirects, set timeout, and configure other request properties.
  • Supports asynchronous operations using coroutines, making it easy to integrate with Unity's game loop.[2]
  • Can be used in both runtime game scripts and editor scripts/tools.[5]

The UnityWebRequest API is commonly used for tasks like:

  • Retrieving data from web APIs or databases for games.
  • Sending player data or game analytics to servers.
  • Downloading additional game content or assets during runtime.
  • Authenticating users by communicating with authentication servers.
  • Implementing in-game purchases or other monetization features.[4]

Overall, the UnityWebRequest API simplifies the process of making web requests from Unity applications, enabling developers to integrate online features and services seamlessly into their games.[1][2][3]

[1] https://services.docs.unity.com
[2] https://docs.unity3d.com/ScriptReference/Networking.UnityWebRequest.Post.html
[3] https://docs.unity3d.com/ScriptReference/Networking.UnityWebRequest.html
[4] https://stackoverflow.com/questions/60862424/how-to-post-my-data-using-unitywebrequest-post-api-call
[5] https://forum.unity.com/threads/using-unitywebrequest-in-editor-tools.397466/



Follow us


Ivo Liondov

- Software Engineer, Approov Ivo Liondov is a top Software Engineer at Approov, specializing in quick-start integrations to ensure a seamless onboarding experience for new clients. With extensive experience, he excels in providing exceptional customer support and addressing technical issues efficiently. Additionally, Ivo is heavily involved in client-side development, working to enhance the functionality and security of applications.