Quantcast
Channel: Latest Questions by Chesley
Viewing all articles
Browse latest Browse all 62

static TCPClient bugs connection on LoadLevel

$
0
0
im working on a project with multiple worlds on a server and i use TCPClient to connect to the server. i made the server myself and its not anything like SmartFox or Photon or something. basically im using "static" (public static TCPClient client;) to keep the connection when i load a new level (async), but i noticed that the connection gets really unstable. sometimes i receive data, and sometimes i dont. maybe i can use Awake() and DontDestroyOnLoad to keep the connection but before i start re-scripting everything in a way that i dont know if it will work, i want to know if this does or does not keep the connection and where the bug might be. thanks!

Viewing all articles
Browse latest Browse all 62

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>