Timespan to text widget not removing previous time.

Hi, New to Unreal and I’m trying to create a day and night cycle with a widget that displays the amount of days passed and the current time. I have the day and night cycle working and the timespan setup to add text to a widget displayed at the top of the screen. The timespan is working and the time is updating correctly, the only issue is the widget doesn’t delete the previous value as you can see below. The new value just gets added directly on top of the last value and creates a mess of overlapping numbers.

Any help would be greatly appreciated, happy to try to work this out myself if someone could point me in the right direction.

Thanks!

image



Hi Layeredtarsier2,

Where does that middle snapshot get called? It’s almost as if that is getting called every time “TimeRef->Set Time” is getting called when it should only get called in BeginPlay…

1 Like

Thank you! BeginPlay fixed the issue! Still trying to figure out the events

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.