You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've added the SocketIOComponent to the GameMode as we want to ensure it attempts the connection each time the GameMode is started. Unfortunately after 3 or 4 start/stop plays Unreal Engine crashes with the callstack posted below. This is fairly easy to test by rapidly starting/stopping Simulate.
This uses Unreal 4.16.1. (Windows) I have created a gist with our setup inside the GameMode which should let you replicate it. You will be missing a node for how we get our address/port but they should be easy. Add a SocketIOClient component and disable Auto-connect and then paste the gist's contents into the GameMode and hook up the connect functions to BeginPlay.
Interesting, I've never attached it to a game mode, this is a good description for repro. Call stack points to a nullptr reference from the taskgraph system, so likely trying to pass back information on the game thread after the world has been destroyed. Will look through this bug on the next pass.
After having a gander at #47 I'm wondering if they're related. I'll change code on my end to my suggested fix I left there and see if that resolves this issue as well.
Hi all,
We've added the SocketIOComponent to the GameMode as we want to ensure it attempts the connection each time the GameMode is started. Unfortunately after 3 or 4 start/stop plays Unreal Engine crashes with the callstack posted below. This is fairly easy to test by rapidly starting/stopping Simulate.
This uses Unreal 4.16.1. (Windows) I have created a gist with our setup inside the GameMode which should let you replicate it. You will be missing a node for how we get our address/port but they should be easy. Add a SocketIOClient component and disable Auto-connect and then paste the gist's contents into the GameMode and hook up the connect functions to BeginPlay.
https://gist.github.com/LordNed/ace0d2492ae1e18b532536db98b41e1e
The text was updated successfully, but these errors were encountered: