is not marked as serializable unity code example Example: Type is not marked as serializable. [Serializable] public class OrgPermission