How do I create a widget in a pawn?

I put the create a widget node up with my widget variable in the pawn class. The owner is set to the player controller, yet it does not show the widget on the pawns screen when possessed.

https://forums.unrealengine.com/album/1480447-need-help-creating-a-widget-while-posessing-a-pawn

here is my pictures of my blueprints, and yes i added it to view port, it still does nothing :frowning:

The picture with the issue is the 3rd one.,

did you added widget to the viewport? (there blueprint node for that)

thank you so much it worked. Kind of makes me so mad that all I had to do was add a delay, i was going crazy

I bet it will work if you add a short delay before the Add To Viewport. sometimes a widget isnt ready to be put on the viewport during the same tick in which its constructor is called.