For the complete documentation index, see llms.txt. This page is also available as Markdown.

Web support

coherence supports networking Web builds without any additional setup or limitations.

Refer to Unity's Technical limitations on Web builds.

On top of that, coherence Cloud allows you to share your builds easily — perfect for game jams and quick prototypes.

A coherence WebGL game hosted on the coherence Cloud

Web builds use WebRTC to connect to the Replication Server, so the ports used to connect are different from the usual UDP ports used in other platforms.

This is managed automatically in most cases (including Sample UIs and using Cloud Service), but if you are connecting directly to the Replication Server (see Replication Server API), use the Signalling Port:

  • Replication Server reads this port via --signalling-port (see CLI flags)

  • In Unity, check coherence > Settings for Web Port (it's different for Worlds and Rooms!)

Web builds in Linux

Ubuntu: sudo apt install clang libtinfo5 python python-setuptools

Other distros: check with your package repository to install the correct packages for your distribution.

Last updated

Was this helpful?