Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes on iOS #431

Open
BillSempsrott opened this issue Jul 8, 2024 · 0 comments
Open

Crashes on iOS #431

BillSempsrott opened this issue Jul 8, 2024 · 0 comments

Comments

@BillSempsrott
Copy link

BillSempsrott commented Jul 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants