I get this error whenever I exit playmode. What might cause this issue and how can I trace it?
[Wire]: Unity.Services.Wire.Internal.WebSocketInvalidStateException: WebSocket is not in open state.
Not really an answer but I get the same error, and for me is because I try to call LobbyEvents.UnsubscribeAsync();
when I exit play mode.
I’m assuming the wire socket simply shuts down before the rest of the app so you can’t send web requests anymore.
I couldn’t find a way to check whether the socket is open from code so I guess I’ll just keep this error for now.
It’s ugly but it shouldn’t cause any issues in production