getnamo / SocketIOClient-Unreal

Socket.IO client plugin for the Unreal Engine.
Other
864 stars 230 forks source link

IOS Crash on Connection or on receiving message (DIstribution package) #424

Open bcanick opened 1 month ago

bcanick commented 1 month ago

I have used the plugin for quite some time now, starting at UE4.26. Everything worked perfectly until UE5.3.2, Xcode 14. (I use a Mac Book Pro M1 as dev platform and Iphone 15 on IOS17.4.1)

AppStore then forced me to use SDK17, so I upgraded Xcode to 15.1 and the crashes started to happen.

They seem random. Sometimes it is just at the connection, sometimes I manage to connect, authenticate, then crash. Sometimes I can connect, authenticate, then leave (and crash when sending a "leave" message).

UE5.3.2 also introduced many changes on packaging (Modernised Xcode etc) so there might be some weird setup/entitlements issues.

The app works without crash if I package for shipping but no distribution.

Additionally, since 5.3.2, the plugin does not work in Editor mode on my Mac, same for Development package on my Iphone.

bcanick commented 1 month ago

I forgot some details: Plugin version: 2.7.3

On the server: node-persist@4.0.1 socket.io@3.1.2 socketio-auth@0.1.1

bcanick commented 1 month ago

Connection is HTTP