Answer the question
In order to leave comments, you need to log in
websocket. Unity client hangs while connecting to the server. Why?
Recently started working with Websocket-Sharp, I created client and server applications for testing on the same machine. Everything works fine using localhost as the local address. Then I tried to start the server and the client from different machines. The server itself works correctly: all the pages are in place, as well as their functionality. But as soon as I try to launch the game from Unity, it freezes - it can't connect. Any ideas?
Answer the question
In order to leave comments, you need to log in
Is the problem that it cannot connect or that the unit hangs?
In order not to freeze, everything connected with the network must be done in a separate thread.
And why is not connected - see the log, so I can not say anything.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question