I don’t think i really understand rpcs very well, i’ve tried looking at the forums and youtube tutorials but am unable to get them to work for my use case.
this rpc is attached to a StaticBody3D which is placed in the main scene. The code is activated when a player interacts with the object
And when they interact (on the authority / server): delete_ground_item.rpc() call_local = caller also runs it. Without .rpc(), only that one game frees the node.
If these items are spawned at runtime, MultiplayerSpawner should own spawn/despawn instead of a hand-rolled free.
turns out i was using rpc_id(1, “delete_ground_item”) and so it was only doing it on the server, i solved it by using delete_ground_item.rpc() or delete_ground_item_rpc() to call it instead- thanks!