# Update the SDK

## Update through Unity Package Manager

#### **Update SDK installed Using Open UPM (Recommended)**

<figure><img src="https://534367586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVu1MPzezO-NgvC98xh%2Fuploads%2Fgit-blob-920f4443c3abdeeae96a7b66b387c5fe8170c05f%2FOpenUPM%20Update.png?alt=media" alt=""><figcaption><p>Open UPM Package in need of update</p></figcaption></figure>

When installed through Open UPM the update process is exactly as it is with packages installed through the asset store. When you open the Unity Package Manager the list of packages on the left that needs to be updated has a symbol that looks like an up arrow.

When selected, you can either press the button in the top right to update to the latest version. Or you can select the Version History tab and update to another release.

#### **Update SDK installed by Git**

{% hint style="info" %}
The steps below are the same as for installing the SDK since the Unity Package Manager knows when the SDK has been updated.
{% endhint %}

Open the Unity editor and navigate to the Package Manager by clicking on `Window` and then `Package Manager`.

![](https://534367586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVu1MPzezO-NgvC98xh%2Fuploads%2Fgit-blob-b36a9ee36894f9452bac46faf05b1502a467e881%2Fplus.PNG?alt=media\&token=5d58b708-0544-4ee9-93f8-75f5ce294d7f)

Click on the `+` at the top of the Package Manager window and select `Add package from git URL`.

![](https://534367586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVu1MPzezO-NgvC98xh%2Fuploads%2Fgit-blob-6346057783a8aaed1f8345f87035a8e11586a958%2Fgitselct.PNG?alt=media\&token=17ad8c27-dee4-4143-8b03-25e650879f91)

Enter the URL below into the text box and click `Add`. Copy the URL below into the field.

```
https://github.com/LootLocker/unity-sdk.git
```

![](https://534367586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVu1MPzezO-NgvC98xh%2Fuploads%2Fgit-blob-e1a7131e0d78fc9fbbb37d6b875bd751e3766402%2Furlenter.PNG?alt=media\&token=b0d2e009-1f0a-4541-bb53-81beb4360f52)

{% hint style="danger" %}
Remember to reconfigure the SDK as the properties can be overwritten or have changed. You can learn how to configure the SDK [here](https://docs.lootlocker.com/the-basics/unity-quick-start/configure-the-sdk).
{% endhint %}

{% hint style="success" %}
The SDK has now been updated to the latest release.
{% endhint %}


---

# 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.lootlocker.com/the-basics/unity-quick-start/updating-sdk.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.
