Health getting unbinded to bar

as says above, i can start the game and the health works fine, regenerating and everything, but when I pause and unpause the game, the healthbar shows as empty, even though i still have health, as tested by applying damage to myself, any idea why?