colyseus / colyseus-unity-sdk

⚔ Colyseus Multiplayer SDK for Unity
https://docs.colyseus.io/getting-started/unity-sdk/
MIT License
371 stars 100 forks source link

devMode Integration #194

Closed lpsandaruwan closed 2 years ago

lpsandaruwan commented 2 years ago
lpsandaruwan commented 2 years ago

Hi @lpsandaruwan, the reconnection is working as expected, but I noticed a problem with the retry logic.

The retry counter should be re-set after the connection has been successfully reestablished.

In the following screenshot, you can see that the retry count builds up even after successful reconnects:

image

Hi @endel,

Did a workaround for fixing this. But Now the logic has a infinite depth of recursion. I'm working on it.

endel commented 2 years ago

This is great! Thanks @lpsandaruwan 🎉