Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
1/5
Protect your game from cheaters who try to change your memory variables. It's a lightweight easy to use out of box solution.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.26f1
Compatible
Compatible
Compatible
Description

Lightweight Anti-Cheat - Secure variables


Protect your game from cheaters who try to change your memory variables.


It's a lightweight easy to use out of box solution to encrypt your variables in RAM. It protects your variables from memory scanners and searchers. A lot of cheaters use these scanners and searchers to increase their money and items count. Or, for example, to freeze health to stay immortal.



Features


* Out of box solution


* Easy to use


* Lightweight


* Protect your game from cheaters who try to change your memory variables



Out of box solution


Just install the asset package and use it. Does not require any configuration or setup.



Easy to use


Use secure variables exactly as other value type variables. Just replace "int" to "SecureInt", "float" to "SecureFloat", etc.



For example, replace


"int health = 10;"


to


"SecureInt health = 10;"



Lightweight


A lightweight solution that contains only code you need and nothing more.



Protect your game from cheaters trying to change your variables in the memory


These variables do not store their original values in the memory. Instead, they store encrypted values. So any memory scanners and searchers can't find variable values in the memory so they can't change their values.



Supported variables


* SecureBool


* SecureDouble


* SecureFloat


* SecureInt


* SecureLong


* SecureString


* SecureByte


* SecureChar


* SecureShort


* SecureUInt


* SecureUShort


* SecureSByte


* SecureULong


* SecureVector2


* SecureVector2Int


* SecureVector3


* SecureVector3Int


* SecureQuaternion



Use this asset for encrypting your variables in memory only, since it uses fast encryption. For saving/loading game progress consider using more protected but slow encryption.



ATTENTION!


Be careful, if you replace an old serialized variable in the code with a secure one, then the prefab will lose its variable value. This problem is caused by the way Unity stores prefab values int YAML format. Specifically, it stores built-in structs and custom ones differently.



If you have any questions, write to the email LSRuizAv@gmail.com

Technical details
  • Protect your game from cheaters who try to change your memory variables;
  • Out of box solution;
  • Easy to use;
  • Lightweight.

Lightweight Anti-Cheat - Secure variables

(9)
32 users have favourite this asset
(32)
$4.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
2 years ago
cheap, easy, works great
LOVE THIS. Works in every project. Stops kids that use cheatengine and other crappy cheats to upload hacked scores. Super easy to use. What more could...
License type
File size
334.2 KB
Latest version
1.3
Latest release date
Jun 7, 2023
Original Unity version
2021.3.26
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR