Step 1 - Import packages

Package Dependencies

In case you use an older version of Unity you need to add the Newtonsoft Json package. You can install it by pasting following into your manifest.json file:

"com.unity.nuget.newtonsoft-json": "3.2.1",

In the new Unity versions the Newtonsoft Json is build in to Unity. No need to install the package.

Dependencies Installation:

  1. Git package repository link. The easiest way to add the READYgg SDK into your project is to use PLAY package distribution. You need simply put the package git repository links into manifest.json file. See instructions below.

Troubleshooting : if you have error messages in Unity saying that it cannot find the git repository, make sure you have Git installed on your machine. Unity Hub needs it to import packages from Github.

Steps:

  1. Open [project_dir]/Packages/manifest.json file in your favorite text editor

  2. Paste following lines:

"io.getready.rgn.achievement": "https://github.com/readyio/RGNAchievement.git#0.13.0-dev.582",
"io.getready.rgn.analytics": "https://github.com/readyio/RGNAnalytics.git#0.13.0-dev.582",
"io.getready.rgn.core": "https://github.com/readyio/RGNCore.git#0.13.0-dev.582",
"io.getready.rgn.currency": "https://github.com/readyio/RGNCurrency.git#0.13.0-dev.582",
"io.getready.rgn.gamepass": "https://github.com/readyio/RGNGamePass.git#0.13.0-dev.582",
"io.getready.rgn.gameprogress": "https://github.com/readyio/RGNGameProgress.git#0.13.0-dev.582",
"io.getready.rgn.inventory": "https://github.com/readyio/RGNInventory.git#0.13.0-dev.582",
"io.getready.rgn.leaderboard": "https://github.com/readyio/RGNLeaderboard.git#0.13.0-dev.582",
"io.getready.rgn.marketplace": "https://github.com/readyio/RGNMarketplace.git#0.13.0-dev.582",
"io.getready.rgn.matchmaking": "https://github.com/readyio/RGNMatchmaking.git#0.13.0-dev.582",
"io.getready.rgn.signin.email": "https://github.com/readyio/RGNSignInEmail.git#0.13.0-dev.582",
"io.getready.rgn.signin.guest": "https://github.com/readyio/RGNSignInGuest.git#0.13.0-dev.582",
"io.getready.rgn.store": "https://github.com/readyio/RGNStore.git#0.13.0-dev.582",
"io.getready.rgn.userprofile": "https://github.com/readyio/RGNUserProfile.git#0.13.0-dev.582",
"io.getready.rgn.virtualitems": "https://github.com/readyio/RGNVirtualItems.git#0.13.0-dev.582",
"io.getready.rgn.wallets": "https://github.com/readyio/RGNWallets.git#0.13.0-dev.582",

If you don't need some of the functionality, you can try to remove some modules.

Partially removing some of the modules while keeping the others has not been thoroughly tested yet by the RGN team, if you encounter any issues please contact us.

The manifest.json file after all changes should look similar to this:

Afterwards switch to Unity and wait until the packages import finishes.

Last updated