So i have been struggling this for awhile and i keep getting this error
client code
SERVER SIDE CODES
Code:
No receiver found for RPC 'POS' at uLinkNetworkView "ServerManagement(Clone)" (ViewID 61177)
C#:
RustServerManagement.Get().networkView.RPC("POS", uLink.NetworkPlayer.server, pos);
C#:
rpcobject = new GameObject();
rpcobject.AddComponent<Communication>();
UnityEngine.Object.DontDestroyOnLoad(rpcobject);
C#:
public class Communication : MonoBehaviour
{
[RPC]
public void POS(Vector3 pos)
{
Logger.Log(pos.Tostring());
}
}