View Single Post
05/29/18, 11:35 AM   #4
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
I'm pretty sure it is a timing issue where ClearIncreaseData is called right before AnimateFillIncrease. In general it looks like the progress bar class is very fragile to calls happening in an unexpected order. For example when I call PLAYER_PROGRESS_BAR:Hide() manually before ShowIncrease(), it will throw nil errors.

Maybe just add one of your internalasserts in front of the while loop and change the condition to also check if finalStop is nil, in order to avoid an error from popping up?