A crash can occur within GetWorldTimerManager() if the function is called when no valid World is present. It is not necessarily intuitive to have to make sure that GetWorld() will not return a nullptr value prior to calling GetWorldTimerManager().

Steps to Reproduce
  1. Search for the GetWorldTimerManager() function in the Engine's source code.

The function does not validate that the call to GetWorld() returns a valid pointer before calling GetTimerManager(). This can result in a crash if GetWorld() returns a nullptr.

The function is protected against GetWorld() returning a nullptr.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-60407 in the post.

Login to Vote

Won't Fix
ComponentUE - Gameplay
Affects Versions4.
CreatedJun 13, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021