Not getting onConnectDone in Unity

0 votes

My project has been working fine but sometime ago my connections have started failing. After I call Connect - I don't get the event onConnectDone.

I've verified the IP address of the server and port. Even if there was a problem, I was expecting to get OnConnectDone with an error. But there is no callback at all. So I am not sure whats going on!

asked Feb 20, 2014 in AppWarp by michaelking (84 points)

1 Answer

+1 vote
 
Best answer

That's strange - can you check if you are calling Warpclient's update method in your Monobehavior class' Update() loop? This is required so that the SDK can pump the messages received from the server as events to the app's main thread.
If this is not the case, can you check if the provided sample (3rd person MMO controller) is able to connect or not.

answered Feb 20, 2014 by dhruvc (1,099 points)
selected Feb 20, 2014 by michaelking
Thanks! yes that indeed was the problem.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...