Hello! So I followed a HP bar and damage tutorial, everything else works fine, but my health bar is not updating as it should. Any help is appreciated!!
Can’t see an obvious problem. Altho, in the speedrun thru the bps, it looks like you have a debug key doing something to health and printing it, but most of it’s offscreen. If you’re directly setting health there and not using the increase/decrease health functions on the health component, the dispatchers wouldn’t be fired. Best advice I can give is to put breakpoints in the Update Healthbar event on player and make sure it’s actually firing. Might also want to make an event in health component called OnHealthChanged or something, then call that in inc/decrease health funnctions instead of dispatcher, and have the new event call the dispatcher. Might just be stale data or a race condition with inc/dec health calling dispatcher before they finish.
Hi @UkkosDuck ,How’s it going?
I replicated the same system you’re using, and it worked perfectly fine for me. I also reviewed your video, where you show the Blueprints, and everything looks exactly the same.
What I find strange is that, in your video, the health keeps decreasing even after reaching 0, going into negative values. It should stay at 0 and not continue decreasing.
One thing that comes to mind that could be interfering is having a BP_ThirdPersonCharacter in your scene. I recommend trying to delete it and checking if the system works correctly. It shouldn’t cause any issues, but sometimes it could cause the UI to be duplicated and create some kind of conflict.
Just out of curiosity, are you working on a new project, or is this a project where you’ve already made some modifications?
Hope it helps!
Oh wow thank you so much
for some reason it was the BP_ThirPersonChar being in the scene, no clue why it would affect it, but now it works! I appreciate everyone’s help!

