- Home /
RPC only working one time?
Hello, I have following code
if(GUILayout.Button("GetStatus")){networkView.RPC("CreationStatus", RPCMode.Server, "test");}
@RPC function CreationStatus (test : String){Debug.Log(test);}
The first time I send the RPC it is working fine (I can see Debug.Log("test");
But the second time I do this, nothing happens, no errors, no debugoutput, ..nothing.
Please help
Answer by Mike 3 · Jun 28, 2010 at 06:01 PM
The only thing I can think of is that you have the Collapse button selected in the console, which stops the console printing out duplicate lines
Your answer
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
RPC call ending up on wrong target 1 Answer
Issue with synchronizing NPC Health over the network. 1 Answer
Networking initial questions 0 Answers
Problem with RPC - GUI 1 Answer