Hi,
I got my server-side code that call an ClientRPC but it seems that RPC is called on both server and client.
So i tested it with this piece of code into the ClientRpc:
And i got the debug on the server side.
how is that ? is it a bug ?
thx
Hi,
I got my server-side code that call an ClientRPC but it seems that RPC is called on both server and client.
So i tested it with this piece of code into the ClientRpc:
And i got the debug on the server side.
how is that ? is it a bug ?
thx
If your server is a host it still will receive all Rpc’s just like a usual client does. If that’s the case - it’s not a bug.
Can a host not be a server ? What is the difference between host and server then ?
A host is a server and a client in one.
A server is only a server