How to draw debug strings in editor viewport at design time?

I found this tutorial might help.

I have tested it, it worked fine for other Draw Debugs, but not Draw Debug String. Not sure if I missed something?


image


Edit:
I checked the source code and found something. Draw Debug String need iterate through the player controller list. So I guess it can’t get PlayerController when the game is not running?

2 Likes