Game HUD widget needs a reference to the pawn so we can bind the health variable. In the tutorial I tried to get my pawn by casting it from GetPlayerCharacter how ever it didn’t work for me. So I created a variable in the Game HUD - a reference to my main Pawn - and sat it manually when I created the widget in my main pawn.
What I suggest is setting something instead of getting it by casting if DEPENDENCY isn’t an issue. This makes your HUD dependent to your pawn but in most games each type of pawn has it’s own HUD.