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