On iOS devices, I'm seeing crashes when I try to connect to my server. Everything is working fine on Android, Windows, and Mac.
Strangely, everything works great on iOS the first time I run the game after deploying it to the device. If I then force-quit the app and then launch it again, it crashes when I try to connect. If I fully restart the phone, it will work again once and then start crashing again (until I restart the phone again).
I'm seeing the same behavior in development builds (loaded to the phone via USB cable in Xcode), shipping/distribution builds (deployed via TestFlight), and on multiple iPhones running different versions of iOS.
I'm using C++ and the FSocketIONative class, but I get the exact same behavior if I use the Blueprint actor component instead.
I'm using Unreal Engine 5.3.2, Xcode 15.4.0, and version 2.8.0 of the SocketIO plugin.
Attached below is a full stack trace of the crash. I've tried everything I can think of to debug this, and I just can't seem to determine the cause. It seems like it could be caused by some sort of incompatibility with one of the third-party dependencies (asio or websocketpp?), but that's just speculation at this point.
Is anyone else having this problem on iOS? Does anyone have any ideas?
On iOS devices, I'm seeing crashes when I try to connect to my server. Everything is working fine on Android, Windows, and Mac.
Strangely, everything works great on iOS the first time I run the game after deploying it to the device. If I then force-quit the app and then launch it again, it crashes when I try to connect. If I fully restart the phone, it will work again once and then start crashing again (until I restart the phone again).
I'm seeing the same behavior in development builds (loaded to the phone via USB cable in Xcode), shipping/distribution builds (deployed via TestFlight), and on multiple iPhones running different versions of iOS.
I'm using C++ and the FSocketIONative class, but I get the exact same behavior if I use the Blueprint actor component instead.
I'm using Unreal Engine 5.3.2, Xcode 15.4.0, and version 2.8.0 of the SocketIO plugin.
Attached below is a full stack trace of the crash. I've tried everything I can think of to debug this, and I just can't seem to determine the cause. It seems like it could be caused by some sort of incompatibility with one of the third-party dependencies (asio or websocketpp?), but that's just speculation at this point.
Is anyone else having this problem on iOS? Does anyone have any ideas?
ios-crash-stack-trace.txt