I was trying to set the text in a text render component from C++ to help me debug something.
For some reason, there’s a linker error when I call the SetText method. I even tried syncing the latest source and recompiling everything.
I was able to get around it by just taking the 2 lines in the body of SetText and pasting them where I was trying to set the text.
Hi illYay. Could you please provide some more information about the error message you are receiving? Where are you calling SetText(), and what is the exact error message you are receiving?
TextRenderComponent was not fully exposed for linking across modules in 4.1. This has been resolved in 4.2. If you would like to apply the changes locally please see https://github.com/EpicGames/UnrealEngine/commit/8fd08e7b1ac677d6a1be75fbe6e3db347adc1b32
Looks like Marc answered down below.