🎮Unity
🚨 freeRASP for Unity – Early Release [6/2025]
We’re excited to introduce freeRASP for Unity as a new flavor of our runtime protection library. As it’s still fresh, you may encounter some integration issues that need to be ironed out.
We’d love to hear about your experience—good or bad. Please open an issue on GitHub or write us directly at support@talsec.app. Your feedback helps us make it better!
📝 Prerequisites
Ensure your development environment meets the following requirements:
Unity Editor version 6 or higher.
Minimum Android SDK level 23 or higher.
Integration Tutorials
Android Workflow
iOS Workflow
Installation and Initialization
Download the Plugin
Download the latest freeRASP.unitypackage file from the GitHub Release page.
Initialize the Plugin
Create an empty GameObject in your primary Scene, or select an existing one. Create a script named Game.cs and drag it from the Project window onto your GameObject in the Hierarchy or Inspector window. Unity automatically calls the Start() method when the Scene loads. Implement the TalsecConfig object and initialize the freeRASP plugin within this method.
Platform-Specific Setup
freeRASP utilizes native Android and iOS libraries to execute runtime security checks. You must configure platform-specific build settings to link these native dependencies correctly. Complete the Android Gradle configurations before compiling your final Android package, and complete the iOS framework setup after exporting your Unity project to Xcode.
Android Setup
Add Permissions
Some callbacks require additional permissions to function. In your Unity project, locate or create Assets/Plugins/Android/AndroidManifest.xml and add the relevant permissions inside the <manifest> root tag.
Screenshot and Screen Recording Detection
Location Spoofing Detection
Unsecure WiFi Detection
iOS Setup
🖥️ Check Talsec Portal
Check out Data Visualisation Portal and register using your watcherMail to see your data. If you integrated the SDK successfully, the application will be present after a few hours. The visualisations will be active later due to the bucketing mechanism.
You have to use the same email for the Portal as you used for the watcherMail parameter.
Last updated

