#For some reason the code is only being executed on one client (the client that joins)

1 messages · Page 1 of 1 (latest)

proven eagle
#

By default Commands are only executed by authoritative objects (only objects that you own), you need to add "requireAuthority" and set it as false on Command attribute.

twilit iron
#

[Command(requiresAuthority = false, channel = Channels.Reliable)] I like to put my commands and RPC's in the reliable channel if you are using a transport that has unreliable and reliable. Not sure if this is still needed though, it's been a while.