Skip to content
HyperKit

Add HyperKit to Unity project

This guide walks you through integrating HyperKit SDK into your Unity project.


Remove any existing dependencies that are distributed as part of HyperKit.

  • Following dependencies should be removed:
    • ExternalDependencyManager
    • Firebase SDK
    • Facebook SDK
    • Adjust SDK
    • AppLovin MAX SDK
    • GoogleMobileAds

Download your installer package from the self-service portal at my.hypercell.pro under [Your Game] → Integrate HyperKit, then install it into your open Unity project.

  • It runs on import and sets the project up for you. Then it removes itself.
  • If you see Enable Android Auto-resolution dialog: click Disable. HyperKit runs the Android Resolver itself before every Android build. The first resolve can take a while depending on your connection.
  • If you see A new scoped registry is now available dialog, and nothing happens after you confirm it: switch to another window and back. Unity sometimes waits to regain focus before it resumes resolving.

Check that it worked. Open Package Manager and confirm the Hypercell registry is listed and the HyperKit package resolved.

  • The Hypercell registry:

    Screenshot: Add HyperKit to Unity project

  • Check for HyperKit package:

    Screenshot: Add HyperKit to Unity project

Make sure you have a loader scene and add HyperKit components.

  • Place HyperKit prefab on the loader scene:

    • Note: prefab is placed in the Package, so you’ll need to use Packages search:

    Screenshot: Add HyperKit to Unity project

    • Full Prefab path is: Packages/com.hypercell.hyperkit/Prefabs/HyperKit.prefab
  • Place prefab into the Loader scene root:

Screenshot: Add HyperKit to Unity project

6. Wait for initialization in the loader scene

Section titled “6. Wait for initialization in the loader scene”
  • Please refer to following example:
public void Start()
{
StartCoroutine(AwaitHyperKit());
}
private IEnumerator AwaitHyperKit()
{
while (!HyperKit.Initialized)
{
yield return new WaitForSeconds(updateInterval);
}
Debug.Log("HyperKit initialized");
SceneManager.LoadScene(gameSceneName);
}
  • Keep this gate rather than a timeout that lets the player through: the wait can include the consent dialog, which the player paces. See Troubleshooting for what to do when initialization takes longer than expected.

7. Synchronize the configuration and settings

Section titled “7. Synchronize the configuration and settings”

Synchronize HyperKit configuration and settings.

  • Click on HyperKit in Hierarchy tree.
    Press Synchronization action button on Inspector panel:

    Screenshot: Add HyperKit to Unity project

  • Press the Synchronization action button and monitor Console log.
    You should see logs similar to:

    Screenshot: Add HyperKit to Unity project

  • Check for Synchronization status at the end of output.
    It should contain the following line:

    Screenshot: Add HyperKit to Unity project

  • Troubleshooting. If synchronization fails with logs like:

    • [GamestotyRemoteConfig] No local config found for X.Y.Z — the config wasn’t fetched during the build. Try Gamestoty → Download Remote Config menu item manually.
    • Unexpected response code 404 for config X.Y.Z or BuildFailedException: No game config for version X.Y.Z — Gamestoty doesn’t have a config registered for this game version. Either register it yourself at dashboard.hypercell.pro/ui/games (see Prepare for new Release) or - if you don’t have dashboard access - contact your publishing manager / producer.

Congratulations! You are now set to create your greatest games with HyperKit SDK!

Good luck and have fun!


Appendix: where the installer put things

You do not need any of this for a normal integration. It is here for the rare case of handing a file to a teammate by hand, or checking what changed in your repository.

  • Registry credentials: .upmconfig.toml in your home folder. %USERPROFILE%\.upmconfig.toml on Windows, ~/.upmconfig.toml on macOS and Linux. This is the one file that lives outside the project, which is why every developer runs the installer once. Unity reads it only at launch, so if you replace it by hand, restart Unity.
  • Your game configuration: Assets/Resources/HyperKitManifest.json.
  • Package registry and version pin: Packages/manifest.json.
  • Android build settings: the Publishing Settings toggles under Project Settings, with their template files in Assets/Plugins/Android/, plus the ANDROID_GOOGLE_PLAY scripting define. It also switches the active build target to Android, so expect a one-off reimport right after the install. If the Console says the Android part did not finish, Configure Unity project build settings lists the same toggles for turning them on by hand.
  • Ignored paths added to your .gitignore:
/Assets/HyperKitInstaller/
/Assets/HyperKitInstaller.meta
/Assets/Resources/GameConfig*.json*
crashlytics_build_id.xml*

The installer deletes itself from Assets/HyperKitInstaller/ when it finishes.