Installing Yarn Spinner for Unity

You can download and install Yarn Spinner for Unity in several ways.

Requires Unity 2022.3.x or later For Yarn Spinner 3.3.x
For Unity 2021.3, use Yarn Spinner 2.

We recommend getting Yarn Spinner for Unity by buying Yarn Spinner+ for Unity from the Unity Asset Store or our itch.io store. Buying it supports us to keep making Yarn Spinner, and it comes with three extras: Text Animator for Yarn Spinner*, Classic RPG and Snaaake.

* Text Animator for Yarn Spinner is an integration. It connects Yarn Spinner to Text Animator for Unity, which is made by Febucci and sold separately.

Install from the Unity Asset Store

First, visit the Unity Asset Store page for Yarn Spinner for Unity, and add it to your cart, and complete your purchase while logged into the same Unity account you use to activate Unity.

Yarn Spinner for Unity on the Unity Asset Store, with the Add to Cart button.

Once you’ve purchased Yarn Spinner for Unity, you’ll find the Add to Cart button replaced by an Open in Unity button. Click this button to launch Unity, and the Package Manager will locate your purchased package:

The Open in Unity button, after buying.

Once the Package Manager has located the package, you can use the Download button to fetch it:

Yarn Spinner for Unity in the Package Manager, with the Download button.

Once Yarn Spinner for Unity has downloaded, you can use the Import button to start the process of adding it to your project:

The Import button in the Package Manager.

This will trigger the Import Unity Package workflow, where you can use the Import button to add the Yarn Spinner for Unity package to your project:

The Import Unity Package window for Yarn Spinner for Unity.

Yarn Spinner is now installed. You might also want to download and import the Yarn Spinner for Unity Samples as a .unitypackage, from here.

You can review Unity’s documentation for using the Asset Store for further guidance on working with purchased packages.

Install from Itch.io

First, visit the Yarn Spinner Itch.io Store, and click the Buy Now button, and complete the checkout process.

Once you’ve purchased Yarn Spinner, you’ll find a Download button at the top of the page:

The Download button on the itch.io page.

The download button will take you the following page, where you can download the Yarn Spinner for Unity .unitypackage:

The itch.io download page for the Yarn Spinner for Unity .unitypackage.

Once you’ve downloaded the .unitypackage, with the Unity project you want to use it in open, double click it. Unity then lets you import the package into your project:

Importing the downloaded package into a Unity project.

Install from GitHub

As an alternative to downloading Yarn Spinner from OpenUPM, you can install Yarn Spinner by downloading the package directly from GitHub, where the project’s source code is stored.

Where possible, we recommend installing Yarn Spinner via a purchased .unitypackage from the Yarn Spinner Itch.io or the Unity Asset Store.

To install Yarn Spinner from GitHub, follow these instructions.

  1. Make sure your system has Git (minimum version 2.14.0) installed.
  2. In Unity, open the Window menu, and choose Package Manager.
  3. Click the + button, and choose “Add package from git URL”.
  4. In the text field that appears, enter the following URL:
    https://github.com/YarnSpinnerTool/YarnSpinner-Unity.git#current
    Type the URL exactly as it appears in this document.
  5. The project will download and install. This might take a moment.

Install via OpenUPM

You can also install the Yarn Spinner package into your project using the Package Manager window in Unity. Yarn Spinner is available via the OpenUPM registry.

To follow the instructions in this section, your project needs to be using Unity 2020.1 or higher. If your project is using an earlier version of Unity, we recommend installing Yarn Spinner from Git.

Where possible, we recommend installing Yarn Spinner via a purchased .unitypackage from Itch.io or the Unity Asset Store.

Setting Up the OpenUPM Registry in Your Project

Before you can install Yarn Spinner from OpenUPM, you first need to configure your project so that it knows where to get the package from.

  1. In Unity, open the Edit menu, and choose Project Settings.
  2. In the list of sections at the left hand side of the window, select Package Manager.

This window is where you tell Unity about where to find packages that come from registries besides Unity’s built-in one.

  1. In the Name field, type OpenUPM.
  2. In the URL field, type https://package.openupm.com.
  3. In the Scopes field, type dev.yarnspinner.
  4. Click Save.

When you’re done, the settings window should look like this:

The OpenUPM scoped registry in Project Settings.

You can now install Yarn Spinner itself.

Installing the Yarn Spinner package

  1. Open the Window menu, and choose Package Manager.
  2. In the toolbar, click Packages: In Project, and choose My Registries.
Choosing My Registries in the Package Manager.
  1. Yarn Spinner will appear in the list. Select it, and click Install.
Yarn Spinner in My Registries, with the Install button.

Yarn Spinner will download and install into your project.

You can verify that everything is imported successfully by looking for Yarn Spinner under Packages, in the Project pane.

Verify that Unity has the package by checking the Packages folder of the Project pane.
Yarn Spinner under Packages in the Project pane.

What’s the difference between the versions?

Itch.ioAsset StoreManual
Full Unity Integration✅ Included✅ Included✅ Included
Text Animator for Yarn Spinner✅ Included✅ Included
Unity Localization✅ Included✅ Included✅ Included
Voice-over✅ Included✅ Included✅ Included
Community Support✅ Included✅ Included✅ Included
Direct Support✅ Included✅ Included
What comes with each way of installing Yarn Spinner for Unity.
Yarn Spinner is an open source project, and it will always have a free option. Buying Yarn Spinner from Itch or the Unity Asset Store supports the Yarn Spinner Team directly.