Timer Is Always Returns False When Debugging In Delegate???

Hi everyone,

When I code timer like this, debug message always returns “Timer Not Exists” but when I put the debugging lines out of delegate and after “SetTimer” func, it works fine and debug message shows “Timer Exists”. But when I put it in delegate, result always returns “Timer Not Exists”

What is the problem? I have to do this checks inside the delegate.


You have to spawn the timer in the world, before TimerExists will ever come back true. Your FTimerHandle variable will always be a nullptr unless you call the SetTimer function to set the reference.