Description

If Tick Interval is set to something non-zero, the game will freeze when Set Game Paused is called. If not manually closed through the Task Manager, this will lead to an out of memory crash. This occurs across PIE, Standalone, and packaged games.

Crash Reporter:
[Link Removed]

Steps to Reproduce
  1. Open UE4 Editor (BP Third Person)
  2. Open ThirdPerson GameMode blueprint
  3. Set Tick Interval to 0.1
  4. Open ThirdPerson Character blueprint
  5. Add and wire keypress (T) and Set Game Paused nodes
  6. Check the box for Set Game Paused to true
  7. PIE
  8. Press T to pause the game

Result:
The editor is completely unresponsive and cannot exit PIE

Expected:
Editor buttons can still be interacted with if viewport is paused.

Callstack
UE4Editor_Core!FGenericPlatformMemory::OnOutOfMemory() genericplatformmemory.cpp:148 
UE4Editor_Core!FMallocTBB::Realloc() malloctbb.cpp:99 
UE4Editor_Engine!TArray<FTickTaskLevel::FTickScheduleDetails,FDefaultAllocator>::ResizeGrow() array.h:2386 
UE4Editor_Engine!FTickTaskLevel::RunPauseFrame() ticktaskmanager.cpp:994 
UE4Editor_Engine!FTickTaskManager::RunPauseFrame() ticktaskmanager.cpp:1410 
UE4Editor_Engine!UWorld::Tick() leveltick.cpp:1303 
UE4Editor_UnrealEd!UEditorEngine::Tick() editorengine.cpp:1408 
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() unrealedengine.cpp:371 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2834 
UE4Editor!GuardedMain() launch.cpp:156 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 
UE4Editor!WinMain() launchwindows.cpp:202 
UE4Editor!__scrt_common_main_seh() exe_common.inl:264 
kernel32!<Unknown> 
ntdll!<Unknown> 

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

0
Login to Vote

Fixed
ComponentGameplay
Affects Versions4.13
Target Fix4.13.1
Fix Commit3128422
CreatedSep 22, 2016
ResolvedSep 22, 2016
UpdatedAug 9, 2018