How to make RPCs Only Call on Other Clients?

I'm building a quick demo in Photon Fusion, and for some data transfer calls I'm using RPC, and we have a Shared network setup. The issue I'm finding is that the RPC calls get called on the local machine in addition to the clients, and I only want them called on the other clients.
My understanding is that this method should only call on other clients:
[Rpc(sources: RpcSources.InputAuthority, targets: RpcTargets.Proxies, InvokeLocal = false)]
public void RPC_TestCall(string testString)
{
Debug.Log("Call Received: " + testString);
}
And it is called like this:
RPC_TestCall("Hello World");
I feel like I'm doing something entirely wrong there however, but this seems to be what the documentation says to do. Any advice would be appreciated - thank you!
Comments
-
I could be wrong, but this might help.
0 -
Sadly no, seems that the local object doesn't think it has InputOverride so it goes right through.
0 -
Hi,
We had some internal changes on RPCs on shared mode recently, are you on the last nightly SDK? if not, could you try with it?
-----
Isaac Augusto
Photon Fusion Team
0 -
I just tried the Fusion SDK 1.1.2 Nightly Build 567 nightly, however I now get these errors whenever attempting to join a session (so I reverted back to the Fusion SDK 1.1.1 F Build 512 build as it at least connects, though RPC calls don't seem to function in that one).
[Fusion/RealtimeSDK] Cannot send to: wss://GCASH114.exitgames.com:19091. The current state of the connection is not Open.
StartGameException: IncompatibleConfiguration
0 -
Hi,
Could you share your start game logic?
Are you sure the app id is correct after updating?
-----
Isaac Augusto
Photon Fusion Team
0