From d7dc5444d1c8e80b3dc84a6ee10b2af10dd411f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sierpi=C5=84ski?= <33436839+sierpinskid@users.noreply.github.com> Date: Wed, 6 Dec 2023 18:00:00 +0100 Subject: [PATCH] [Docs] Add info on how to import a specific version of the SDK in Unity via Unity's Package Manager --- .../docs/Unity/01-basics/02-installation.mdx | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docusaurus/docs/Unity/01-basics/02-installation.mdx b/docusaurus/docs/Unity/01-basics/02-installation.mdx index 93879b97..7f0b1856 100644 --- a/docusaurus/docs/Unity/01-basics/02-installation.mdx +++ b/docusaurus/docs/Unity/01-basics/02-installation.mdx @@ -13,4 +13,19 @@ https://github.com/GetStream/stream-video-unity.git?path=/Packages/StreamVideo ``` ![Select "add package from git URL..."](../assets/basics-installation-03.png) -After the package import is complete, **Stream's Video SDK for Unity** should be available in your project. \ No newline at end of file +After the package import is complete, **Stream's Video SDK for Unity** should be available in your project. + +## Using a specific SDK version + +We recommend always using the most recent version of the SDK. However, you may want to use a particular version of the SDK. +In such case, you need to append the `#` symbol, followed by the version number, to the package URL as shown below: +``` +https://github.com/GetStream/stream-video-unity.git?path=/Packages/StreamVideo#0.5.0 +``` +Here, the version `0.5.0` will be imported, even if a newer version is available. + +:::caution + +Importing the package with a version defined will lock this version indefinitely. The **Update** button in Unity's package manager will not update the package, and the only way to upgrade will be to remove the package and add it again without the version suffix. + +::: \ No newline at end of file