ERROR Command function CmdUseAbility called on server.

Is there a reason this is not allowed? It seems unintuitive this works on host but not stand alone server and annoying that npcs and players can not use the same methods.

 [Command]
        public void CmdUseAbility()
        {
            if (Ability != null) { Ability.UseAbility(); }
        }

I think Command’s are sent from the client to the server. With host there is client + server. With stand alone server it’s only the server so there is no client to send from. So maybe this is why it doesn’t work.

Could be, I thought it would work since although host mode acts like a client and server it seems to be only a single instance of anything.

If anyone at unity is reading this is it possible to change this. It would be nice if the same code could be used for:
Bot on server
Bot on host
Player on host
Player on Client