The Time material node returns editor up-time instead of game time if the material is set to the material domain User Interface.

This can be resolved by using:

float RealTimeSeconds = FPlatformTime::Seconds() - GStartTime;

or

float TimeSeconds = FApp::GetCurrentTime() - GStartTime;

as slate’s FSlateRHIRenderingPolicy does not respect the UWorld’s concept of time.

2 Likes