socket.io-unity icon indicating copy to clipboard operation
socket.io-unity copied to clipboard

Socket 4.4.0 , nothing happen with example script on Unity 2020.3.22f1

Open shuskry opened this issue 3 years ago • 5 comments

HI everybody :)

I'm trying to use the example script In my project. The server work fine I think because I have the "Connected at 3000" message in terminal.

In the Unity side, I have only the "start" Debug log but nothing else ...

I have to have a "index.html" file in my directory ? or it's not necessary? Because I haven't for now.

I'm using the socket.io-unity v1.0.1 package install with unity.

Thanks for the help !

EDIT : It's work by downgrading the Socket.io module to 2.4.0

shuskry avatar Nov 19 '21 21:11 shuskry

Hello I would like to ask you how downgraded the version of socket.io to 2.4.0? thanks greetings.

Vlakdo avatar Nov 30 '21 01:11 Vlakdo

Works perfectly with socket.io 2.4.0 (change version in package.json server side)

FakieSui avatar Jan 20 '22 08:01 FakieSui

Can y'all please put this fix in the readme. Maybe I missed it but it's super super important. ALL BOLD AND UNDERLINED.

brennanzdas avatar Feb 12 '22 01:02 brennanzdas

Works perfectly with socket.io 2.4.0 (change version in package.json server side)

how did you change it..i did change the version on json file but still nothing happening .

b7gorsiya avatar Feb 26 '22 13:02 b7gorsiya

Works perfectly with socket.io 2.4.0 (change version in package.json server side)

how did you change it..i did change the version on json file but still nothing happening .

Send the code you're using, it can also be part of your network configuration (are you trying on a localhost or distant host?)

FakieSui avatar Apr 06 '22 14:04 FakieSui