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 Packages: checked
Show Dependencies: checked
Click Apply.
2. Find and install the coherence package
Now open the Package Manager.
Click Packages and My Registries.
Under coherence, click Install.
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 */.
{"dependencies": {"com.unity.collab-proxy":"1.3.9","com.unity.ide.rider":"2.0.7","com.unity.ide.visualstudio":"2.0.7","com.unity.ide.vscode":"1.2.3","com.unity.test-framework":"1.1.24","com.unity.textmeshpro":"3.0.1","com.unity.timeline":"1.4.6","com.unity.ugui":"1.0.0",/*** ADD THIS START ***/"io.coherence.sdk":"0.5.2",/*** ADD THIS END ***/"com.unity.modules.ai":"1.0.0","com.unity.modules.androidjni":"1.0.0","com.unity.modules.animation":"1.0.0","com.unity.modules.assetbundle":"1.0.0","com.unity.modules.audio":"1.0.0","com.unity.modules.cloth":"1.0.0","com.unity.modules.director":"1.0.0","com.unity.modules.imageconversion":"1.0.0","com.unity.modules.imgui":"1.0.0","com.unity.modules.jsonserialize":"1.0.0","com.unity.modules.particlesystem":"1.0.0","com.unity.modules.physics":"1.0.0","com.unity.modules.physics2d":"1.0.0","com.unity.modules.screencapture":"1.0.0","com.unity.modules.terrain":"1.0.0","com.unity.modules.terrainphysics":"1.0.0","com.unity.modules.tilemap":"1.0.0","com.unity.modules.ui":"1.0.0","com.unity.modules.uielements":"1.0.0","com.unity.modules.umbra":"1.0.0","com.unity.modules.unityanalytics":"1.0.0","com.unity.modules.unitywebrequest":"1.0.0","com.unity.modules.unitywebrequestassetbundle":"1.0.0","com.unity.modules.unitywebrequestaudio":"1.0.0","com.unity.modules.unitywebrequesttexture":"1.0.0","com.unity.modules.unitywebrequestwww":"1.0.0","com.unity.modules.vehicles":"1.0.0","com.unity.modules.video":"1.0.0","com.unity.modules.vr":"1.0.0","com.unity.modules.wind":"1.0.0","com.unity.modules.xr":"1.0.0" },/* add this comma if not already present *//*** ADD THIS SECTION START ***/"scopedRegistries": [ {"name":"coherence","url":"https://registry.npmjs.org","scopes": ["io.coherence.sdk" ] } ]/*** ADD THIS SECTION END ***/}
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 quickstart window pop-up and you'll be good to go.