Installation
Installing and configuring the DynamicPixels Unity plugin

This page will guide you through installing, setting up, and connecting the DynamicPixels plugin within your Unity project.
Installation
Download
You can obtain the latest version of the DynamicPixels Unity plugin by:
Visiting the DynamicPixels GitHub Repository.
Download the repository as a
.zip
file and extract it locally.
Import into Unity
Open your existing Unity project.
Navigate to
Window -> Package Manager -> + Drop Down -> Add Package From Git Url
Enter the URL of the SDK git repository.
You can also add the package with
.zip
.Confirm that all assets are selected, then click Import.
Upon successful import, the DynamicPixels
folder will appear inside your Assets/
directory.
Configure DynamicPixels
After installing SDK a setup dialog will be shown, enter the Client ID and Secret that is provided in the project settings. After the submit dialog, An Empty Object will be created in the hierarchy that contains DynamicPixels Initializer
. You can always change the SDK configuration in this component:
Game ID: This value is a constant ID when you create your project in the dashboard.
Game Secret: The project's secret is an important value that should be kept very private but you can change it later.
Debug Mode: During game development, you need to see the errors and warnings and use this message to debug your game. This toggle enables showing these messages. Make sure to disable it whenever you want to publish your game.
Verbose Mode: If you need to see more and deeper log messages enable this toggle.
This component works as the Singleton pattern and keeps plugin data between scenes.
Verify Connection
After configuration:
Add
ServiceHub.Authentication.RegisterWithEmail(RegisterWithEmailParams input);
with fulfilled parameters to check your connection and register your first player.Play your scene in Unity.
Check the Users tab in your game dashboard and check if the player is registered successfully.
Requirements
Unity Version
2020.3 LTS or newer
Internet Access
Required for backend API
DynamicPixels Account
Required (Sign up on dynamicpixels.dev)
Best Practices
Keep your DynamicPixels plugin updated to benefit from the latest features and security improvements.
Regularly check the Release Notes for updates.
Last updated