Using the sample code from
https://docs.unrealengine.com/latest/INT/Programming/Tutorials/VariablesTimersEvents/2/index.html
I was not able to reproduce the results shown when executing the code. The instance of the CountdownTimer has no root component according to the editor.
Hello, rogueyoshi
Sorry to hear about your problem.
Please make sure you have the following lines
UTextRenderComponent* CountdownText;
in Actor’s header and
CountdownText = CreateDefaultSubobject<UTextRenderComponent>(TEXT("CountdownNumber"));
CountdownText->AttachTo(RootComponent);
RootComponent = CountdownText;
in Actor’s constructor.
Also please note that after the best way to ensure that code changes have been applied correctly is to save the level, close the Editor and recompile the project.
Hope this helped!
Good luck!