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
After successfully connecting to a test server with the example client code via the Unity editor in run mode, something peculiar happens after stopping.
For some reason the socket.io process just keeps going, despite the fact I stopped the program. I have to kill Unity to make this stop.
I tried to add this code, which should kill the socket when the editor stops, but that doesn't seem to be the case:
Have you tried Disconnecting the socket in the OnDisable or OnDestroy method? I don't know if OnApplicationQuit is the best method to use for the editor play mode.
After successfully connecting to a test server with the example client code via the Unity editor in run mode, something peculiar happens after stopping.
For some reason the socket.io process just keeps going, despite the fact I stopped the program. I have to kill Unity to make this stop.
I tried to add this code, which should kill the socket when the editor stops, but that doesn't seem to be the case:
The text was updated successfully, but these errors were encountered: