I want to update an array of TextRenderComponents, but it seems like a cast to a dynamic material simply doesn’t work for these. What am i doing wrong?
Did you create a dynamic material instance using the blueprint: ‘Create Dynamic Material Instance’ function? I think in the default case the TextRenderComponents contains a normal Material Instance.
Because DynamicMaterialInstance and (NormalMaterialInstance) are different types your cast to DynmaicMaterialInstance does not work.