Why is Event Receive Draw HUD not working in my HUD Blueprint?

Hello. I have problem with HUD Blueprint in my project (made from New Project > Blank).

After setting up base: game mode, player controller etc. My next move was to create new HUD (“BrickHUD”) from Blueprints menu. My HUD Class in X_GameMode is “BrickHUD”. So everything should be allright.

Problem: When I’m adding ‘Event Recive Draw HUD’, that event not send any signal. HUD function ‘Draw Text’ does not working too.

When placing ‘Event Tick’ in HUD Blueprint it printing string “Hello” in play mode, but ‘Draw Text’ still not working. It looks like any function/event from HUD class not working in my project.

When I’m making fresh project from start (same - Blank project), and setting up everything in the same way - HUD working well.

In My project I’m using only some basic blueprints, no any C++ code. What can be wrong? Where should I look for issue?

Thanks a lot for any feedback.

UP! I have almost the same problem. Except that it didn’t even work on a new blank project. O.0

Hey GikaH,

In your first project, you did apply your custom HUD to the GameMode and then set that GameMode in your map’s world settings, correct?

-Steve

Thanks, it helped :). before I had a bad blueprints selected in the HUD class

Note that draw text events don’t work until you set the color once…just click on it and drag anything up and down once and save.

On your draw text node, your screen x and y are set to zero. This puts your text outside of the screen.

it does not. It would place it into top left corner. Just like in this video

I had the same problem, and in my case I had plugged in the Text color a Linear Color variable, which by default has a 0 alpha value. That’s another thing to consider.