How to Render World Space Debug Text in Editor?

How do I render debug text in the editor without going into play mode?

I’ve tried to look into how the navigation system does it as I’m using the same method to render debug meshes.

The navigation system seems to do it in the UNavMeshRenderingComponent that extends UDebugDrawComponent. I’ve set up the CreateDebugSceneProxy and returned the data I need to draw for everything except text. I can’t seem to get text debug rendering to work.

Any help would be greatly appreciated

Ok, it’s been a little while but I figured out the answer to my own question.

I made a quick tutorial here: - YouTube
GitHub repository with the code answer here: https://github.com/RyanSweeney987/UE5_Tut_1

1 Like