Open staskjs opened 2 years ago
Platform? How are you using the plugin, through component or native method? https or http? Does changing Unbind Events on Disconnect
stop this error for you?
It's also possible the disconnect thread is behaving differently for you (async disconnect is default, but I've never seen this error personally)
It's on windows. I use components, instantiated at runtime in game instance. Https. I haven't checked Unbind Events on Disconnect
, but I will try, thanks for the tip. I'll get back here if problem persists.
Unbind Events on Disconnect
doesn't seem to help. I think I figured out how to reproduce the issue. I put Join namespace
in a umg widget on socket connected event. Then in widget's Destruct
I was calling Leave namespace
. Then Alt+F4 causes game to crash. But I didn't need to leave namespace after all, so it is fine for now...
I use UE 5.0.3, plugin version 2.4. It happens occasionally, happened in 2.3 also. It always happens when I exit play mode and I only use functionality that plugin provides without this lower level stuff. I guess something doesn't close properly or interrupted somehow UPD: it sometimes happens in packaged game too. But sadly I can't notice any pattern...