private void CmdSpawnCharacter(int aCharacterID, string aName) { CharacterSelect characterSelect = GameObject.Find("CharacterSelect").GetComponent <CharacterSelect>(); myCharacterPrefab = characterSelect.GetCharacterPrefab(aCharacterID); GameObject go = Instantiate(myCharacterPrefab, this.transform); NetworkServer.SpawnWithClientAuthority(go, connectionToClient); RpcSetChildParent(gameObject, go, aName); }