Material channel names are collected for localization during Gather Text unless Skip Gather Cache is enabled

Hello! When we try to Gather Text for our localization targets that have `ShouldGatherFromEditorOnlyData` disabled, it includes entries stored within `UMaterialExpressionVectorParameter::ChannelNames` and `UMaterialExpressionVectorParameter::ChannelNames`. This behavior seems unexpected as those fields are tagged with `meta=(EditorOnlyLocalization)` which should prevent those texts from being gathered.

However, we also noticed that by enabling `SkipGatherCache`, those entries then get skipped as desired. So my questions are as follows:

  • What exactly is the Gather Cache, and what purpose does it serve?
  • What are the ramifications of skipping it?
  • Is there a way of ‘resetting/cleaning’ it such that the issue no longer happens?

Note that we could add Material asset types to ‘Exclude Classes’ as a fallback option, but that wouldn’t account for other cases that rely on ShouldGatherFromEditorOnlyData to filter them properly (and we would need to add custom changes to account for those in plugin targets).

[Attachment Removed]

Steps to Reproduce[Attachment Removed]