Can't see draw debug string, help!

2 years later
THANK YOU

Small addition: Settings are not(?) relevant, you need to actually set the HUD class for the player controller and spawn an instance. This can be done via e.g. Client Set HUD.

THANK YOU LIFESAVER!

Hi, it’s been 5 years, how could we still not have any easy possibility at all to draw simple text in the viewport (construct script) without recompiling entire engine with custom c++ class made by senior skilled programmers ?

It would be nice to have ue4.27 lts update or something for us to just draw debug strings…

Is there any way to make it work on viewport instead of in play mode??

Edit : I finally found a solution via the “Add Text Render Component” node.

1 Like

I have found an issue where calling DrawDebugString with an empty Text parameter appears to cause it to be ignored, not only for this draw call, but for ALL other calls that exist anywhere globally as well (including those with non-empty strings). So make sure to never input an empty string.

Thank you!