Connecting a local WebGL to local RS

I’m trying to test out webgl but it doesn’t show my local replication server, I can connect to the local RS just fine from the editor or from standalone builds, and with webgl I can connect to the cloud hosted RS but the local server doesn’t show. I’m using unity 6.0.25 and coherence sdk 1.3.1. Anything I need to do to allow the webgl local build to connect to the local rs?

Hi, WebGL running locally won’t be able to “ping” your local RS in order to list it - this is a web restrictiong (CORS). If you know the IP/port of your local RS, you can hard code your local build to connect to it for testing purposes. e.g. you would skip our built-in dialog that lists hosts and simply implement your own connection. Check out the source code for the sample dialog for all the details on establishing a connection.

Here are more details on setting up your signalling port, which is needed for WebRTC WebGL support | coherence Documentation

Ok thank you for the help :slight_smile: