-
Notifications
You must be signed in to change notification settings - Fork 230
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
Unable to connect using PIE on MacOs UE5.1 #363
Comments
I'm having this same problem on M1 Pro. Windows also works just fine for me. |
Mac isnt my main platform, but I'll have more open source hours in about 1-2 weeks and should be able to at least get some idea of where the issue could be. Any logs/minimal projects to repro you can provide would be helpful |
Minimum repro would just be to try to connect to a local socketio server from the project via play in editor mode. Would be great to get this figured out! Are there some flags that I should set to get all the debug logging? |
Just the saved folder logs should suffice. It's likely related to openssl pragma barriers for Mac if I had a speculative guess. Also see if this option exists for Mac/can be toggled and if it does anything: https://github.com/getnamo/SocketIOClient-Unreal#ios |
That's not an option on Mac, and there's no problem with local HTTP connections. As far as the log files go -- SocketIOClient doesn't log anything. Also, I'm using the native client. |
Small update, it doesn't only affect M1 CPU, tested on a MacPro with an intel i9, it was exactly the same. On PIE, it seams that the function create in Asio service_registry.hpp is never called and after that I have weird service IDs (in service_registry.ipp do_use_service). For an unknown reason since MacOS update, I can't use a debugger, so I had to add a lot of UE_LOGS in various function calls. |
Can confirm I was able to replicate the issue (no connection in PIE, works fine in packaged mode). Unsure atm of what the issue is, will gladly take some logs if you have any. |
I also have this issue on an M2/MacOS 14.1.2 running UE 5.2.1 and Node v18.18.2. Server works great between two browser windows, but not at all in Unreal @getnamo : I've attached the logfile : warning/error summary is as follows : Warnings :
Errors :
|
Hello, I have the same problem, do not know how to solve |
Any progress with this? I've been hacking away at it with debug print statements and this it what I've figured out:
later on, when kevents (kernel events) happen, the kevent_reactor attempts to start its scheduler, which hasn't been properly registered. It works for the DNS validation, but when the reactor attempts to connect to the actual socket and gets I used the websocketpp example 'ThirdParty/websocketpp/examples/echo_client/echo_client.cpp` and massaged it to look as much like client_impl as I could. But I could not get the example to exhibit the same symptoms. Hope this is helpful. |
Hi,
We are currently working on a project using your great work, but we stumped over a problem regarding the play in editor with MacOS (with M1 max).
With Windows, everything works like a charm, we can connect to a local or distant server. But when using Mac, the connection is not established in the PIE (local or distant, with SSL or not), while the exported version works fine. (Looks like #313 with the iPhone).
We used the C++ version, with UE directly from Epic (not built from source).
For now we don't see where the problem is, but we are willing to work with you on that if you want it too. In any case, any fix will lead to a PR.
If you have any advices or hint to give us, our eyes are wide opened ;)
Thanks for your time,
Judepom & Nicoooooo
The text was updated successfully, but these errors were encountered: