Math.Lerp smoothly run app from background

I have function RegenHP it’s calculate current health point + regen hp divide max health point. Result fillAmount.

It’s run on Start() And OnApplicationPause().

But I have problem with Math.Lerp. I add HandleBar in Update(). When run game from background it’s lack not smoothly healthpoint bar regen. [When run app (not from background) it’s smoothy because it’s pass loadingScreen].

    void HandleBar() {
        if(displayedHealthBar.fillAmount != fillAmount) {
            displayedHealthBar.fillAmount = Mathf.Lerp(displayedHealthBar.fillAmount, fillAmount, Time.deltaTime * lerpSpeed);
        }
    }

Try : Mathf.MoveTowards instead of Lerp.
Look up Lerp to see how it’s used, after, in case you’re wondering.

w

Why Mathf.MoveToward it not look smoothly ? But It work when unpause game.

Not 100% sure what you’re saying… MoveTowards was just a suggestion to see if it helped.
Sorry, hope ya figure it out. I’m not sure what else to suggest.

Not sure how background & passed the loading screen are related, either.