Quantcast
Viewing all articles
Browse latest Browse all 16796

Server not calling when a Client connects

Is there a better way to tell my server to start sending data to a client that has just connected to it? I am using matchmaking.
I have tried:

Code (CSharp):
  1. Debug.Log("Player " + player + " connected from " + player.ipAddress + ":" + player.port);
  2. }
as well as
Code (CSharp):
  1. public override void OnServerConnect(NetworkConnection conn){
  2. Debug.Log("Player Connected" );
  3. }
I have tried putting this code on the spawned PlayerPrefab, on...

Server not calling when a Client connects

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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