Get the Unity SDK
Last updated
Was this helpful?
Last updated
Was this helpful?
The first step to use coherence in Unity is to install the coherence SDK.
Latest Unity LTS releases are officially supported. As of now, we support:
Unity 6 LTS (min. 6000.0.23f1)
Unity 2022 LTS (min. 2022.2.5f1)
Unity 2021 LTS (min. 2021.3.18f1)
You can conveniently download the SDK from the Unity Asset Store:
As an alternative to the Asset Store download, you can manually install coherence from our package repository. The rest of this page describes the steps to do so.
First, go to Edit > Project Settings. Under Package Manager, add a new Scoped Registry with the following information:
Name: coherence
URL: https://registry.npmjs.org
Scope(s): io.coherence.sdk
Now open Window > Package Manager. Select My Registries in the Packages dropdown.
Highlight the coherence package, and click Install.
As an alternative to the step-by-step process above, you can directly edit your package manifest.
Refer to Unity's instructions on modifying your project manifest.
Edit 📂/Packages/manifest.json
Add an entry for the coherence SDK under the dependencies
object
Add one for the scoped registry in the scopedRegistries
array
You can see an example below:
You will then see the package in the Package Manager under My Registries.
When you successfully install the coherence SDK, after code compilation, you should see the Welcome window.