Im having trouble getting the Unity Proxy Server to work. My server and client connect, but every time i try to to run a game. I start to get “Unhandled relayed message” after the proxy server relays the first two messages.
My server is started with “Network.useProxy = true” and the correct proxyIP and proxyPort .
Then my client connects to the server using the IP and port that the game server was assigned from the proxy server.
Everything looks like it works for the first two messages in the proxy server log, but if i try to send RPCs after that i get errors.
First two messages:
Relaying for client at “My client IP”:62960, to server at “My server IP”:62944, ID of relayed message is ID_REQUEST_CLIENT_INIT
Received packet on port 10746
Relaying for server at “My server IP”:62944, to client at “My client IP”:62960, ID of relayed message is ID_CLIENT_INIT
Received packet on port 10746
Then Errors:
Relaying for client at “My client IP”:62960, to server at “My server IP”:62944, ID of relayed message is Unknown ID 39
The “Unhandled relayed message” is not always 39 i get others, but the numbers change. I have had 0, 19, 29, 130 and others. the messages are all from the same RPC.
Has anybody encountered this error? Has anybody been able to get the unity proxy server to work?
Im not sure where to go from here. There is not a lot of information about using the unity proxy server. A example would be great.