GetSimulationElapsedTime() and Time node in material graph returning different session duration values

Summary

GetSimulationElapsedTime() and the Time node in material graph return different values for session duration, making certain material graph techniques impossible in UEFN.

Images show the Time node in material graph showing the session age as 677.57 seconds whilst GetSimulationElapsedTime() returns 1699.41

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Other

Steps to Reproduce

Create a material with a time node and a debug scalar values node plugged into base colour output.
Create a verse device which can be triggered to print the current elapsed simulation time using GetSimulationElapsedTime()

Expected Result

The two values agree on a common simulation elapsed duration

Observed Result

The two values return different simulation elapsed durations

Platform(s)

All

Upload an image


Here is a triggerable material animation when you set the Start Time parameter with the current session time. This approach allows the progress to be animated at the refresh rate of the material without having to loop a verse function to set the progress manually at a max of 30fps.

The issue is that the time value used by the node is different to the one used by GetSimulationElapsedTime() which means the animation fails to fire.

FORT-1044018 has been added to our ‘To Do’ list. Someone’s been assigned this task.