Modifying UTextRenderComponent has no effect in game window

Hi,

I modify the Text property of UTextRenderComponent component inside Tick() method of an actor but during gameplay it still displays the default “Text” text. When I click on the actor in World Outliner window and go to it’s properties I can see that the Text does change. Should I use some method to force the refreshment of component rendering?

I have exactly the same issue with UArrowComponent when I modify ArrowColor component.

Regards, ’

EDIT:
I found it. The reason was I modified the parameters in a wrong way.

Instead of this:
myTextComp->Text = FText(“hello”)
There should be:
myTextComp->SetText( FText(“hello”) );

Instead of this:
myArrowComp->Color.R = 255;
There should be:
myArrowComp->SetArrowColor_New( … );