Thanks for your quick reply. GetWorldTimerManager is a method of the Actor class. So I definitely need the parenthesis (at least I get an error if I remove them and I could not find an other way to get the TimerManager).
Additionally the GetWorldTimerManager gives me a reference to the TimerManager object. So it should be a valid object (at least it can’t be null). But it seems to be the right way. Because it does not matter which TimerManager function I call, but I always get the same access violation.
Even the reference that I get using
FTimerManager& mgr = GetWorld()->GetTimerManager();
seems to bee invalid. But I cannot check if the reference is valid (the reference is, but the pointer that is referenced by it seems to be not).
Do I have to initialize the TimerManager in some way before using it?