Install coherence

Requirements

Game engine support

coherence currently supports Unity. For custom engine integration, please contact our developer relations teamenvelope. For updates regarding Unreal Engine support, please check the Unreal Engine support page.

Unity Requirements

Video Tutorial

Unity Package Manager

1. Add the Scoped Registry

First, go to Edit > Project Settings. Under Package Managerarrow-up-right, add a new Scoped Registry with the following information:

  • Name: coherence

  • URL: https://registry.npmjs.org

  • Scope(s): io.coherence.sdk

Package Manager Advanced Settings

2. Install coherence

Now open Window > Package Manager. Select My Registries in the Packages dropdown.

Highlight the coherence package, and click Install.

Alternative method: edit manifest.json manually

Refer to Unity's instructions on modifying your project manifestarrow-up-right.

Edit <project-path>/Packages/manifest.json.

Add an entry for the coherence sdk on the dependencies object, and for the scoped registry in the scopedRegistries array:

You will then see the package in the Package Manager under My Registries.

circle-check
circle-info

For files you can .gitignore, see this referencearrow-up-right from our sample projects.

Was this helpful?