Page cover

First Steps tutorial

The basics of coherence

The First Steps projectarrow-up-right contains a series of small sample scenes, each one demonstrating one or more features of coherence.

Scenes

If you're a first time user, we suggest to go through the scenes in the established order. They will guide you through some key coherence and networking concepts:

Remember that playing the scenes on your own only shows part of the picture. To fully experience the networked aspects, you have to play in one or more built instances alongside the Unity Editor, and even better - with other people.

Download the Unity project

The Unity project can be downloaded from its Github repoarrow-up-right. The Releasesarrow-up-right page contains pre-packaged .zip files.

Try a pre-made build

To quickly try a pre-built version of the game, head to this linkarrow-up-right and either play the WebGL build directly in the browser, or download one of the available desktop versions.

WebGL build hosted directly in the coherence Cloud

Share the link with friends and colleagues, and have them join you!

Make your own build

Once you open the project in the Unity Editor, you can build scenes via File > Build Settings, as per usual.

Testing out 2 builds and the Unity Editor together, while a local Replication Server runs in the console.
circle-check
Don't forget to bring the scene you're interested in to the top, so it is launched automatically.
circle-info

To be able to connect, you need to also run a local Replication Server, that can be started via coherence > Local Replication Server > Run for Worlds.

You can try running multiple Clients rather than just two, and see how replication works for each of them. You can also have one Client just be the Unity Editor. This allows you to inspect GameObjects while the game runs.

circle-check

You can also upload a build to the cloud and share a link with friends. To do that, follow these stepsarrow-up-right or watch this quick videoarrow-up-right to learn how to host builds on the coherence Cloud.

Was this helpful?