Skip to main content

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

  1. In Unity, go to Window > Package Manager.
  2. Click ➕ > Add package from git URL....
  3. Enter:
    https://github.com/xsolla/xsolla-sdk-unity.git
  4. 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)

  1. Choose Assets > Import Package > Custom Package. A file browser appears, prompting you to locate the .unitypackage file.

install 1

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

  1. Open your Unity project or create a new one.
  2. Go to Window > Package Manager.
  3. 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.
  4. 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).