Native C++ Anti-Cheat & Anti-Tamper for Unity


Included Components ... Editor tools: Project Settings page, Welcome window, Check Setup, Auto Setup, Config ... Sample scenes and demo scripts ... Every feature in this listing works locally.


by OZeroSecurity


Price History +

Native C++ anti-cheat and anti-tamper protection for Unity games. Helps detect modded APKs, speed hacks, memory tampering, injection, save tampering and PC piracy signals.

Key Features

  • Native C++ protection layer for Unity projects
  • Local protection with no backend server, license key or account
  • Modded APK and repackaging detection
  • Build integrity and signature validation
  • Install source validation for Android builds
  • Speed hack and time manipulation detection
  • Memory tamper and injection risk detection
  • Runtime hooking and suspicious library detection
  • File tamper protection
  • Save tamper and PlayerPrefs protection
  • Device binding against save-copy abuse, with a reset callback you control
  • Physics / position hack detection for teleport-style abuse
  • PC storefront anti-piracy checks for desktop builds
  • Zero-GC secure value types
  • Safe PlayerPrefs API
  • Configurable detection response and an optional security termination notice UI
  • Welcome window, Check Setup and Auto Setup in the Editor
  • Low / Standard / Strict presets and per-module settings in Project Settings > OZero Security
  • Editor Play Mode Protection setting (default Off)
  • Designed for low runtime overhead

Supported Unity Configuration

  • Unity 2022.3 LTS or newer, including Unity 6
  • IL2CPP backend recommended, Mono supported
  • Android, Windows, macOS, iOS
  • Linux x64 IL2CPP builds
  • WebGL: limited protection only, as the native layer is unavailable in browsers

Secure Value Types

  • OZeroSV_Int and OZeroSV_Float hold gameplay values in the native layer
  • Values are accessed through secure tokens instead of plain managed fields
  • Designed to add no managed heap allocation on read or write

Included Demo Scenes

  • Integrated security test scene with Memory, Validator and Overhead tabs
  • Build integrity / tampered APK simulation demo
  • Save file tamper detection demo
  • Save file copy-block demo using device binding
  • Device binding demo for cross-device save abuse, including the reset callback
  • Real-time security log and callback demonstration inside sample scenes

Included Components

  • OZeroSecurity runtime package
  • Native plugin binaries by platform
  • Windows plugins are code-signed by OZero Security Inc with a trusted timestamp. You can check the publisher in the file's Digital Signatures tab.
  • Unity C# wrapper and configuration components
  • Editor tools: Project Settings page, Welcome window, Check Setup, Auto Setup, Config & Dashboard
  • Secure variable and secure file APIs
  • Safe PlayerPrefs API
  • Optional built-in security UI package (TextMeshPro)
  • Sample scenes and demo scripts
  • Offline HTML manual (EN, KO, JA, ZH) and Markdown manuals

Native C++ anti-cheat and anti-tamper protection for Unity games on Android, Windows, macOS, iOS and Linux.


It helps protect mobile and PC builds against common attack patterns such as modded APK repackaging, speed hacks, memory tampering, code injection, file and save tampering, build modification and PC piracy.


Unlike security logic written only in managed C#, OZeroSecurity places key checks in a native layer, which makes them harder to inspect, modify or reuse in cracked and repackaged builds.


Every feature in this listing works locally. No license key, account, activation, backend server or additional purchase is required.


Guided setup

Import the package and the Welcome window opens. Check Setup lists what the project still needs, and Auto Setup applies the recommended settings (IL2CPP, managed stripping, DeveloperSecret, built-in security UI, manifest signing) one confirmed step at a time. Pick a preset (Low, Standard or Strict), adjust modules in Project Settings > OZero Security and build. No scene wiring is required. Editor Play Mode Protection is Off by default, so detectors do not interrupt you while you work in the Editor.


Why Native C++

When the key, the masked value and the real value all live in the managed heap, the relation between them can be read from a memory dump. OZeroSecurity keeps secure values in the native layer, so a plain value scan does not resolve them. Secure value types are designed to add no managed heap allocation.


Platform-Specific Protection

  • Android: modded APK, repackaging, signature validation, install source checks, memory tamper, injection risk, speed hack, file and save tamper protection
  • Windows: PC storefront anti-piracy checks, memory tamper, injection risk, speed hack, file and save tamper protection
  • macOS: build integrity, runtime tamper, speed hack, file and save tamper protection
  • iOS: build integrity, runtime tamper, speed hack, file and save tamper protection
  • Linux: native runtime integrity checks, memory tamper, injection risk, speed hack, file and save tamper protection for x64 IL2CPP builds

Requirements

  • Unity 2022.3 LTS or newer, including Unity 6
  • IL2CPP backend recommended, Mono supported
  • Anti-piracy checks for Steam builds require the Steamworks redistributable in your build. It is not included in this package.
  • Steam Deck compatibility depends on your build target and configuration.
  • WebGL runs in a browser where the native layer is unavailable, so only limited protection applies.

Network use

OZeroSecurity does not contact OZero servers. When Speed & Time Hack web time validation is on, the SDK sends HTTPS HEAD requests to www.apple.com and www.bing.com by default and reads only the Date header. You can replace these hosts or turn the check off.


Documentation

An offline HTML manual in English, Korean, Japanese and Chinese is included and opens from the Welcome window.

Manual: https://www.ozerosecurity.com/manual.html

API reference: https://www.ozerosecurity.com/manual-api.html