Install coherence
Last updated
Last updated
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.
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.
First, open Edit > Project Settings.
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.
Now open the Window > Package Manager.
Click Packages and My Registries.
Under coherence, click Install.
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.
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.