Hi Francesco,
I am having issues with the login. To be short, I will try to explain with a list
1. The server is offline
2. I run the application
3. The status is "connecting to server"
4. I start the server. I confirm by pinging and by browser that the server is up and running.
5. However in the "connecting to server" status does not change even though I have "Ping Intervals Seconds" set to somewhat like 20 or else.
If I start the whole procedure with like:
1. The server is up and running
2. I run the application.
3. Login components enable after the handshake with the server.
4. I shutdown and restart the server, the application responds perfectly fine with proper failure or success messages respectively.
I guess the issue is that the CombuManager is not initialized if the server is down initially. I know this is an extreme case where you encounter a situation where the server is down and the user is trying to reach the app. But in the previous phases due to relatively frequent deployments to the server I feel that it might cause issues sometimes. Is there a way to overcome this issue?
And one more thing.. I am having issues with "Remember Credentials". In the editor I can not retrieve the previous login prefs. I guess this is an editor or build issue inside Unity. But I asked just in case I might be doing something inproperly.
Best regards
Fau
I wanted to write the other issue. Maybe it could be topic of it ownself but.. Let me get into the what I am after.
The server can not be reached or the user intentionally disconnected the network I want to continue the app offline.
And on the contrary, when the network is available or the user goes online I want to synchronize data. Do you have a workaround or an advice on this issue.
I wish you a nice night.
Cheers
Fau
It's currently not a bug but working as expected, that is the initialization only happens once at awake of CombuManager component and there's no retry implementation.
I'll implement a "retry" method in case the initialization process failed.
FRANCESCO CROCETTI @ SKARED CREATIONS
Thank you so much Francesco. I wish you a nice weekend.
Cheers