Install coherence
First, make sure you have Unity 2020.3.36f1 or later installed. The recommended version is Unity 2021.3 LTS. To get Unity, see https://unity.com/download.
Installation - video tutorial
Unity Package Manager
coherence only supports Unity at the moment. Unreal Engine support is planned. For more specific details and announcements, please check the Unreal Engine Support page. For custom engine integration, please contact our developer relations team.
1. Add a scoped registry
First, open Edit > Project Settings.
![](https://docs.coherence.io/~gitbook/image?url=https%3A%2F%2F3798176112-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FZcBSvjNQZSas5L9C0K8K%252Fuploads%252FqPRzO9IogWbPZmafX7eS%252Fimage.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=84765b64&sv=1)
Under Package Manager, add a new Scoped Registry with the following fields:
Name: coherence
URL: https://registry.npmjs.org
Scope(s): io.coherence.sdk
Enable Preview / Pre-release Packages: checked
Show Dependencies: checked
Click Save/Apply.
![](https://docs.coherence.io/~gitbook/image?url=https%3A%2F%2F3798176112-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FZcBSvjNQZSas5L9C0K8K%252Fuploads%252FkHk6s08CRLBXcqjhjhAZ%252F01%2520Set%2520up%2520Unity%2520Package%2520Manager.png%3Falt%3Dmedia%26token%3Dc2247d44-5bcf-4103-90ac-f5b12c679174&width=768&dpr=4&quality=100&sign=7cd0316d&sv=1)
2. Find and install the coherence package
Now open the Window > Package Manager.
![](https://docs.coherence.io/~gitbook/image?url=https%3A%2F%2F3798176112-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FZcBSvjNQZSas5L9C0K8K%252Fuploads%252FDRekn2s5sqsAtJ440Jdd%252F02%2520Open%2520Package%2520Manager.png%3Falt%3Dmedia%26token%3D8e2c80ba-d7d7-4d52-b76d-0ea2f489648e&width=768&dpr=4&quality=100&sign=c0834664&sv=1)
Click Packages and My Registries.
![](https://docs.coherence.io/~gitbook/image?url=https%3A%2F%2F3798176112-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FZcBSvjNQZSas5L9C0K8K%252Fuploads%252FkbVcX6zS0RvsrqSO08IV%252Fimage.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=c2135ee4&sv=1)
Under coherence, click Install.
![](https://docs.coherence.io/~gitbook/image?url=https%3A%2F%2F3798176112-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FZcBSvjNQZSas5L9C0K8K%252Fuploads%252FxLRK2DOsr6PjUhbJ630G%252F03%2520Install%2520coherence.png%3Falt%3Dmedia%26token%3Dae305a82-8120-41b6-b606-3a405829d025&width=768&dpr=4&quality=100&sign=e46f991b&sv=1)
Alternative method: edit manifest.json manually
If you want to install coherence manually, go to the folder of your project and open the file /Packages/manifest.json
.
Copy paste the lines surrounded by comments that look like this:/* comment */
.
The Unity docs have information about scoped package registries.
When you install the coherence Unity Package, all the services for the SDK are installed in the background as well.
You will then see this package in the Package Manager under My Registries.
![](https://docs.coherence.io/~gitbook/image?url=https%3A%2F%2F3798176112-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FZcBSvjNQZSas5L9C0K8K%252Fuploads%252F56avg0eBgcADwTEDNBbv%252F04%2520Dependencies.png%3Falt%3Dmedia%26token%3D8d391216-e6ec-4d80-9a85-61b15af21833&width=768&dpr=4&quality=100&sign=4f6ca261&sv=1)
The coherence SDK has some dependencies on other Unity packages you can see in the image above. If you're already using these in your project, you might have to adjust their version number (Unity will tell you about this).
When you successfully install the coherence SDK you'll get this quick start window pop-up and you'll be good to go.
![](https://docs.coherence.io/~gitbook/image?url=https%3A%2F%2F3798176112-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FZcBSvjNQZSas5L9C0K8K%252Fuploads%252FQEFSWPh1JCo09pWzvfaZ%252Fquicksetup.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=697174b9&sv=1)
Last updated