RPC calls never arrive

Godot Version 4.2

RPC calls never arrive

In absolutely any scenario.

For example: given a button with

func on_button_pressed():

func perform_rpc_call():
   print("Hello World")

The message is printed only on the peer who clicked the button, not on the other peer.

The node path is identical.

Players are successfully connected both before and after testing the RPC call: either peer can move their player and the movement is visible for the other player.

It’s just the RPC call that doesn’t come through.

Please see the documentation, you need to call perform_rpc_call.rpc()