Updated Unityclientprot code