PDA

View Full Version : Unity ts3 SDK 3.0.3.2 Client cannot disconnect from server after rejoining.



tkdtom
September 20th, 2016, 01:19 PM
Hi Teamspeak peoples,

I've started integrating the Teamspeak SDK into my Unity project, and I have found that if I connect a client to the example server that comes with the unity 5 package, then disconnect, then connect again, if I try to disconnect again it does not work, so next time I connect I have 2 instances of the same client on the server.

This happens for every client that connects, they can only disconnect after the first time they have connected, every other time it will leave them connected. This happens on the example scene provided for Unity too. Please can someone help me fix this as clients may need to connect and disconnect from the server multiple times.

Thanks for your help.

TobiasW
October 10th, 2016, 05:13 PM
Hey! I'm not with the TeamSpeak team, but I had the same problem and solved it by calling StopClient() instead of StopConnection(). Maybe it's something similar for you?

Alex_G
October 13th, 2016, 07:36 AM
Hi tkdtom/TobiasW,

there is a problem with the clientLib handling in the unity3d plugin.

You can download a new plugin that will solve this issue:

https://drive.google.com/open?id=0B7SofaTN6ekxU2hfVDJqN1R2UkU

Regards,

Alex G.