Health Bar not Showing in Viewport






Hi, I don’t see that you create the widget and add it to viewport. You could look at the second code example of the first post here [TUTORIAL/SNIPPET] Creating a UMG Widget in C++, and delegate example

As you Can Comepare here In Same Project File But Which has Different Levels.
Why? Health Bar is Showing in NewLevel But Not in (SunTemplel) Level??
Any way To Fix it


My first guess, without knowing anything else about your project, is that probably the working level’s Game Mode is set to your custom game mode that sets everything up, but the Default Game Mode for the entire game is not set to that.

thanks