You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The flowing shows where the bug occured, I was use the Unity2021.3, and build Target is WebGL.
privatestaticKingClient_clientPeer;privatestring_ip;privateushort_port;privateNetworkListenerType_listenerType;publicClientPeer_KingClient(string ip,ushort port){_clientPeer=new();_ip=ip;_port=port;_listenerType=NetworkListenerType.WSText;}publicvoidConnect(){_clientPeer.Connect(_ip,_port,_listenerType);if(_clientPeer.HasConnected)//This line will get the bug, null refrence. {Debug.Log("Connected!");}}
Thanks for your reading, and I am looking forward to your reply.
The text was updated successfully, but these errors were encountered:
The flowing shows where the bug occured, I was use the Unity2021.3, and build Target is WebGL.
Thanks for your reading, and I am looking forward to your reply.
The text was updated successfully, but these errors were encountered: