Widget is null in Blueprint

My Health Bar widget is shown when I play game.


But it is not valid in blueprint check.

Please help!!!
Thank you all

So this prints when you start the game?

image

And this prints when you actually play?

image

Or it does working when you PIE.

1 Like

Yes, when I play it’s print “Null on init” when I start the game and “Null HealthBar” every time Health changed

Can you try this node instead:

image

I tried but nothing changed

Can you give it a try in a clean project, just to test it out? One way to figure out whether this is an engine bug or project related issue - something that can be cause by a rogue plugin?

I tried removing BP class and recreated it. Everything is worked now

1 Like