getnamo / SocketIOClient-Unreal

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

std::basic_string or pthread, crash occurring in iOS Distribution #402

Open glsseact opened 10 months ago

glsseact commented 10 months ago

Hello. I am developing smoothly with your plugin. I am very grateful for it. There were no problems with both Win64 and Android.

However, whenever I archive and run on iOS, a crash inevitably occurs, and the crash happens at the std::string dealloc.

When I build in Development or Shipping mode and install it directly on the device, it does not occur, but it always happens when installed after archiving.

I'm not sure if it is a version problem with libc++, libstdc++, etc.

Here's my build environment: UE5.3.2, Mac 14.2.1, Xcode 15.1, iOS 16.0

I have also attached the crash log.

Thank you. Crash.txt

MenacingDwarf commented 2 weeks ago

Same problem, I am using UE 5.4.4, tried different versions of SocketIO plugin (2.8.0, 2.7.1, 2.5.0), different versions of Xcode (16.1, 15.4, 14.3.1), nothing helps. I think the problem connected with race condition and c++ 20, but I am not sure. When I used UE 5.2 with c++ 17 there was no such problem. @glsseact were you able to solve this problem?