I used this document to build a game server and it originally uses telepathy. I changed every telepathy reference to websocket transport. For example:
private void ConnectRemoteClient(RequestMultiplayerServerResponse response = null)
{
if(response == null)
{
networkManager.networkAddress = configuration.ipAddress;
simpleWebTransport.port = configuration.port;
//telepathyTransport.port = configuration.port;
// apathyTransport.port = configuration.port;
}
else
{
Debug.Log("**** ADD THIS TO YOUR CONFIGURATION **** -- IP: " + response.IPV4Address + " Port: " + (ushort)response.Ports[0].Num);
networkManager.networkAddress = response.IPV4Address;
simpleWebTransport.port = (ushort)response.Ports[0].Num;
//telepathyTransport.port = (ushort)response.Ports[0].Num;
// apathyTransport.port = (ushort)response.Ports[0].Num;
}
networkManager.StartClient();
}
But when I want to login to the server it says: Could not spawn assetId=00000000-0000-0000-0000-000000000000 scene=4AAD3BACAB95B818 netId=1 Do I need a ssl certificate when I use playfab game server?
https://docs.google.com/document/d/1ZgtDsgTcccyj25jSZgQPJ3_gnUCaOqQoJ9cvay2IfV4/edit?pli=1