Empty RPC functions.

I have 2 scenes Client and Server but iv noticed that in order for either client or server to send RPC functions you have to have an empty RPC function on the senders scene like

[RPC]
SendMessageToServer() {
}

Otherwise it says that the RPC Failed because function does not exist. Does anyone know a way to get around having the empty RPC functions. It just feels untidy and there must be away around it.

no, there’s no way to get around it. it’s a basic of Unity’s networking model. it’s a case of “just do it”