- Home /
UnitySocketIO-WebSocketSharp hangs on a handshake loop using Unity webplayer
I'm using UnitySocketIO-WebSocketSharp to connect with a node.js server. If i run the app on Unity3D in standalone mode, everything goes well; the handshake happens normally and the websocket runs smoothly. But, if i run in webplayer mode the socket just gives me an eternal handshake loop.
The code i'm using on Unity is exactly the one from the example. On the server i'm using a crossdomain.xml, and this is what i'm using as the server
Here's the output from the server. The blue arrow indicates the moment i play the Unity scene:
Answer by PrestoR3 · Sep 27, 2014 at 01:57 PM
Hi I had the same issue. Make sure that you Unity c# project has build set to Platform target x86
Your answer
![](https://koobas.hobune.stream/wayback/20220613135904im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Node.js + Socket.io + Heroku 2 Answers
Having photon and node JS in Unity 0 Answers
Can node.js / socket.io be used in Unity Free version? 2 Answers
How to stream audio from unity app to the web browser? 0 Answers