I had this working then I had the server side RPC call a second function. Somewhere in those mods I changed something about the basic RPC call that throws an error on the client that says parameter 1 doesn’t match the declaration and it’s getting System.Monotype instead of UnityEngine.NetworkMessageInfo.
//client code
networkView.RPC("Authenticate",RPCMode.Server , userData , NetworkMessageInfo);
// declaration to keep Unity client Happy
@RPC
function Authenticate(userData : String , info : NetworkMessageInfo) {
}
//Server code
@RPC
function Authenticate(userData : String , info : NetworkMessageInfo) {
}
I have all the code inside the function commented out now (was thinking something in there was causing it).
Any ideas?