Hi, I tried this but it always freezing the unity. void OnApplicationQuit() { if (pclient != null) { Debug.Log("quit"); pclient.disconnect(); } ``` } ```
Hi,
I tried this but it always freezing the unity.
void OnApplicationQuit()
{
if (pclient != null)
{
Debug.Log("quit");
pclient.disconnect();
}