Protected
Cheaters look for numbers they can change: score, health, saves, and time. Protected types keep those values safer and can notice when someone tampers with them.
You replace a normal Unity type or call with the AntiCheat version. The way you read and write the value stays the same.
Memory
A memory editor can search for a plain number and overwrite it. Protected types hide the real value and check it when you use it.
| Type | Free | Pro | What it is for |
|---|---|---|---|
| Primitives | + | + | Numbers, text, vectors, and other single values |
| Collections | + | Lists, queues, and stacks | |
| Data chain | + | An ordered list that notices a changed entry | |
| Block chain | + | The same idea, with an optional copy on a server |
- Primitives cover everyday values such as
int,float,string,Vector3, andQuaternion. - Collections protect a whole list, queue, or stack, not only one number.
- Data chain keeps values in order. It fits scores, achievements, or a currency log.
- Block chain can also send and receive those values from your server, and still notice a broken chain.
Guide: Memory protection.
PlayerPrefs
Unity PlayerPrefs are stored in the open. A player can edit them.
| Type | Free | Pro | What it is for |
|---|---|---|---|
| ProtectedPlayerPrefs | + | + | Same place as Unity PlayerPrefs |
| ProtectedFileBasedPlayerPrefs | + | + | A file you choose. The default folder is Application.persistentDataPath |
Warning
Set a Value Encryption Key in the project settings before you rely on encryption. The shipped settings leave that key empty.
Guide: Protecting saved data.
Time
Speed hacks change how fast the game thinks time is passing. Players can also move the device clock to skip a timer.
| Type | Free | Pro | What it is for |
|---|---|---|---|
| Game time | + | A safer replacement for Time.deltaTime and the other Time values |
|
| Device time | + | A safer UTC clock for rewards, trials, and daily events |
Guides: Speedhacks and Device clock.
Input
An auto clicker can press a button much faster than a person.
| Type | Free | Pro | What it is for |
|---|---|---|---|
| Protected input | + | A rate limit for keys, mouse, gamepad, touch, and input actions |
Each button on each device has its own limit. The default is 10 presses per second. You need the Input System package.
Guide: Auto clickers.