INSTALLATION
Installation
There are multiple ways to install the Xsolla SDK for Unity plugin in Unity. All of them use the Unity's Package Manager.
Option 1: From a Git URL
- In Unity, go to Window > Package Manager.
- Click ➕ > Add package from git URL....
- Enter:
https://github.com/xsolla/xsolla-sdk-unity.git - Click Add.
note
For more information on installing plugins from a Git URL, visit the official Unity documentation here ↗ (https://docs.unity3d.com/Manual/upm-ui-giturl.html).
Option 2: From a Unity package (.unitypackage)
- Choose Assets > Import Package > Custom Package. A file browser appears, prompting you to locate the .unitypackage file.

note
For more information on installing plugins from Unity packages, visit the official Unity documentation here ↗ (https://docs.unity3d.com/Manual/AssetPackagesImport.html).
Option 3: From a tarball
- Open your Unity project or create a new one.
- Go to Window > Package Manager.
- Add a package as a dependence:
- Click the ➕ icon and select Add package from tarball.
- Select the downloaded SDK package.
- Click Open and wait for the import to finish.
- If you don't have EDM4U (Google External Dependency Manager) installed, get the latest version (external-dependency-manager-latest.unitypackage) into the project from GitHub ↗ (https://github.com/googlesamples/unity-jar-resolver).
note
For more information on installing plugins from tarballs, visit the official Unity documentation here ↗ (https://docs.unity3d.com/Manual/upm-ui-tarball.html).