Hey all, back for another RPC related question.... again....
(NGO)
Anyways here's my problem this time. Essentially one player will have this script, and when they use their "ability" they will switch the positions of themself and the other player (or 2 other players). So I am trying to call this on the server with an Rpc, but of course I can't even get it to execute in the first place. I am only passing in the NetworkObjectReference struct, which literally says in the description that it CAN be used in RPCs. I set require ownership to false as well. This script is on the root of my player prefab which also has a ClientNetworkTransform and a NetworkObject , Rigidbody, and some other scripts that are unrelated and dont interact with this one. I don't know why this thing won't execute I feel like I have exhausted every possibility. I also tried a dummy ServerRpc with an int parameter and the prints still didn't run. They don't run on either client.
If you need to see more let me know, I could show the prefab but like I said all the network stuff is on the same object that this script is on. This prefab is also the default player prefab so its spawned by the NetworkManager not by me. Thanks to anyone who can help me here. It could just be the burn-out making me forget something obvious but idk.