#Why can't my client call the destroy and create card functions?
5 messages · Page 1 of 1 (latest)
You don't need RpcDestroyTargetsOnClient. Mirror will tell clients to destroy it already. Override OnStopClient to get rid of associated local objects
This is wrong
[Server]
private void CmdSpawnTargetForDuckforDisorderlyConduckt(uint duckNetId)
probably should have [Command(requiresAuthority = false)] attribute instead, but you've got NetworkClient.spawned check in there that doesn't belong
You didn't include RpcSetTargetNetId but calling that from same method as spawning that thing has code smell