getnamo / SocketIOClient-Unreal

Socket.IO client plugin for the Unreal Engine.
Other
876 stars 236 forks source link

SocketIO Plugin not working on UE5 Linux #383

Open dyhl opened 1 year ago

dyhl commented 1 year ago

Hi there,

I have been having trouble getting any version of the SocketIO plugin for UE5-5.2 to work on Linux. The same version of the plugin as a project plugin works fine in ue5 on a Windows 10 vm on the same comp.

When I try to connect to a node server in editor, I can see a network port is opened between Editor and server but no data is ever sent. It's the same issue as #373 and seems to be similar/related to #363 ?

The back-ported version of the plugin to UE4.27 works fine on Linux, I can run it in Editor mode and from a packaged build. Maybe some internal stuff has changed in UE5? Is the plugin or any submodules doing anything different in Editor compared to in-Game?

As noted in the README, I converted the example project to a C++ project and packaged it in UE5 on Linux. This packaged build worked fine.

We are building our UE4 and UE5 from source and have been using SocketIO as a project plugin for blueprint projects without issue for UE4. We would really like to continue using socketIO in UE5 for our work, so it would be great to get this resolved.

Has anyone else had any luck getting the SocketIO plugin working in any version of UE5 on Linux?

mikeseese commented 1 year ago

To clarify, this issue is for running the editor on a Linux OS? I have had no issues getting the plugin to work in a packaged dedicated server build on Linux, but I use Windows for the editor and cross compile for Linux.

getnamo commented 11 months ago

Check socket.io server version and matching unreal client. There is incompatibility between socket.io protocol 2 and 3/4

A-MilkyCat commented 1 month ago

excuse me, do you fix the issue now? I have same issue using 5.1 on win11, python server. connection is made but it seems like the event is not being lilsten by the client (ue).