Hello, I think this might be because this node calls ReconstructNode() function whenever property “Format” is changed. So node can reconstruct it’s pins according to the Format.
If there was a variable connected, changing of that variable would not trigger reconstructing the node. Also what if the variable is changed in runtime, this would entirely break the pins for FormatText.
If anyone has better answer correct me please this is what I came up with after briefly analyzing FormatText logic in the Engine.
@Sitiana that’s likely the correct answer for question “why”
@Doctor_Kannon as for “how to solve the problem” - make a c++ wrapper over FText::Format that will accept “format string” and “arguments list” as input parameters.
FText::Format() usage example with named arguments
FFormatNamedArguments Args;
Args.Add(TEXT("MyParam1"), "Value1");
Args.Add(TEXT("MyParam2"), "Value2");
FText Result = FText::Format("Some text with params: param1: {MyParam1}, param2: {MyParam2}", Args);