# Import and Setup (nightly)

{% hint style="info" %}
[**Download the nightly version Unity Package from this link.**](https://github.com/Conv-AI/Convai-Unity-Nightly-SDK/releases/latest)\
The package contains sample scenes to get started.
{% endhint %}

{% hint style="info" %}
[Download the WebGL version of the plugin, if you want to build for WebGL.](/api-docs/plugins-and-integrations/unity-plugin/building-for-supported-platforms/building-for-webgl.md)
{% endhint %}

{% hint style="info" %}
The file structure belongs to the nightly version of the plugin downloaded from the documentation.
{% endhint %}

1. If you haven't already done so, download the SDK [here](https://drive.google.com/file/d/1dslrRcI6e02LvL-coupUoTFRlBDLjvMA).
2. Start the Unity Hub.
3. Verify that your project uses Unity 2022.3.0f1 LTS or later (check the Pre-Requisites section of the documentation).
4. Open your project.
5. Select **Assets > Import Package > Custom Package.**<br>

   <figure><img src="/files/Rqn0GmqBcK6ZsuOFRm99" alt="" width="375"><figcaption></figcaption></figure>
6. In the file explorer, select the Convai Unity package.\
   The filename is similar to `ConvaiforUnity_vX.Y.Z.unitypackage`. X, Y, and Z are numbers containing the version information of the plugin.
7. Click **Import.**
8. When the Import begins, a prompt for using the new Unity Input System will appear. Press **Yes**.<br>

   <figure><img src="/files/IgrX8cfABFSNXJbQGDgJ" alt="" width="295"><figcaption></figcaption></figure>
9. The project will automatically restart. After the project is restarted, you need to import the package in the same way.
10. If you are using a Unity Version pre-2022.3.0f1, Disable Assembly Version Validation (use this troubleshooting page: [Disable Assembly Validation](/api-docs/plugins-and-integrations/unity-plugin/troubleshooting-guide/enabled-assembly-validation.md))
11. Verify there were no compiler errors.

{% hint style="info" %}
If you face any errors, visit our [Troubleshooting Guide](/api-docs/plugins-and-integrations/unity-plugin/troubleshooting-guide.md) page to resolve our most common issues.
{% endhint %}

## Package contents

After importing, by default, the Convai folder will be in your project. It should look something like this.

{% hint style="info" %}
The file structure belongs to the Core version of the plugin downloaded from the documentation.
{% endhint %}

<figure><img src="/files/H2PF15IL7Jy7i7Grhaza" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.convai.com/api-docs/plugins-and-integrations/unity-plugin/import-and-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
