// Cook context is present for all cooks, but the tag list is only for CBTB. if (Ar.CookContext() && Ar.CookContext()->CookTagList()) { FCookTagList* CookTags = Ar.CookContext()->CookTagList(); CookTags->Add(Object, "TagName",FString(TEXT("TagValue"))); }