getnamo / SocketIOClient-Unreal

Socket.IO client plugin for the Unreal Engine.
Other
897 stars 240 forks source link

Packaged for Windows 10 (64-bit) executable fails because module 'SIOJson' could not be found #250

Closed eugene-khyst closed 3 years ago

eugene-khyst commented 3 years ago

When trying to package for Win64 the sample https://github.com/getnamo/socketio-client-ue4-example and execute the binary WindowsNoEditor\sioclient.exe I have an error:

Plugin 'SocketIOClient' failed to load because module 'SIOJson' could not be found.

SIOJson Error

I package the project the following way:

UE4-package

The issue is similar to https://github.com/getnamo/socketio-client-ue4/issues/54 but the described solution doesn't work in my case. I copied binaries instead of sources to the Plugins directory.

getnamo commented 3 years ago

You may need to add an empty c++ class to your project to force the engine to recompile the plugin for packaged mode.

getnamo commented 3 years ago

See https://github.com/getnamo/socketio-client-ue4#github

eugene-khyst commented 3 years ago

@getnamo, thanks! It works now. The only thing I had to do is adding an empty C++ class: Create empty C++ class