I have 2 different projects, a "server" project and a "client" project. The server side is pretty much at this point just a "Start server" button that does so, and an RPC call that is supposed to be delivered from the client.
The RPC call is a simple registration call, its supposed to store data on a user. The problem I am having is that sending the RPC never seems to work. I get this error:
View ID SceneID: 1 Level Prefix: 0 not found during lookup. Strange behaviour may occur
Could't invoke RPC function 'SendRegister' because the networkView 'SceneID: 1 Level Prefix: 0' doesn't exist
Is this a problem with my server and client being different projects? Here are the two calls:
Client:
@RPC
function SendRegister(usend : String, psend : String, net : NetworkPlayer){
Debug.Log("tesT");
}
var net = netid.owner;
Debug.Log(net + " " + netid);
netid.RPC("SendRegister", RPCMode.Server, username, password, net);
Server:
@RPC
function SendRegister(usend : String, psend : String, net : NetworkPlayer){
playerText.text = "Send recieved!";
}