- Home /
 
 
               Question by 
               yonatanab1 · Mar 14 at 06:22 PM · 
                scripting problemnetworking3dscript.programming  
              
 
              ClientRpc Won't Execute
For some reason, only the host player (which is also the server) Is getting this Rpc:
 In some script That Only The Host Has Access To:
 DisableSelfClientRpc();
 
 
 
 [ClientRpc] private void DisableSelfClientRpc()
     {
         Debug.LogError("Got Here");
         PlayerObject = NetworkManager.Singleton.SpawnManager.GetLocalPlayerObject();
         Debug.Log("Starting To Affect Stuff for " + NetworkManager.Singleton.LocalClientId);
         PlayerObject.GetComponent<PlayerDisabler>().EnableMe(NetworkManager.Singleton.LocalClientId);
         UIDisable.DisableThose();
     }
 
 
               Did I do anything wrong? only the host gets the "Got Here" print.
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
Multiple Cars not working 1 Answer
what are the basic rules off making a lan server 1 Answer
VS code with unity not working. 1 Answer
How can i make my soldier to patrol over the space station in random ? 1 Answer
2 Key presses to set panel to visible,UI Panel takes 2 keypresses to become visible 1 Answer