Download

Game hitches - trying to find source

Hey everybody.

I am having problems with hitches while playing. The hitches occur every 2 secounds…
I am not able to locate the source for the hitches, so far I gathered some information in form of screenshots which might be usefull.
Also I am sure that the problem comes from the Character Actor and not from the level or somewhere else.
For testing purposes I removed the tick event completely from the character. This didn’t solve the problem.

I logged hitches with “stat DumpHitches”
The logs show the second hitch because at the first hitch the game loads some functions and that’s completely reasonable.
PasteBin or Code below


 

  1. LogStats: ------------------Thread Hitch 2, Frame 107023    81.9ms ---------------
  1. LogStats: ------------------ Game Thread 81.67ms
  1. LogStats:   81.659ms (   5)  -  Thread_3450_0 - GameThread - STATGROUP_Threads - STATCAT_Advanced
  1. LogStats:     81.651ms (   2)  -  FrameTime - STAT_FrameTime - STATGROUP_Engine - STATCAT_Advanced
  1. LogStats:       43.188ms (   1)  -  Total Slate Tick Time - STAT_SlateTickTime - STATGROUP_Slate - STATCAT_Advanced
  1. LogStats:         16.343ms (   1)  -  Draw Window And Children Time - STAT_SlateDrawWindowTime - STATGROUP_Slate - STATCAT_Advanced
  1. LogStats:           14.936ms (   1)  -  Self
  1. LogStats:           1.407ms ( 527)  -  OtherChildren
  1. LogStats:         15.500ms (   1)  -  Self
  1. LogStats:         6.929ms (   1)  -  ProcessMouseMove - STAT_ProcessMouseMove - STATGROUP_Slate - STATCAT_Advanced
  1. LogStats:           6.917ms (   1)  -  Self
  1. LogStats:           0.012ms (   1)  -  OtherChildren
  1. LogStats:         1.873ms (   2)  -  SlatePrepass - STAT_SlatePrepass - STATGROUP_Slate - STATCAT_Advanced
  1. LogStats:           1.688ms (   2)  -  Self
  1. LogStats:           0.186ms (  52)  -  OtherChildren
  1. LogStats:         1.835ms (   1)  -  QueryCursor - STAT_SlateQueryCursor - STATGROUP_Slate - STATCAT_Advanced
  1. LogStats:           1.828ms (   1)  -  Self
  1. LogStats:           0.007ms (   1)  -  OtherChildren
  1. LogStats:         0.708ms (   9)  -  OtherChildren
  1. LogStats:       33.996ms (   1)  -  STAT_FEngineLoop_ProcessPlayerControllersSlateOperations - STATGROUP_Quick - STATCAT_Advanced
  1. LogStats:         21.436ms (   1)  -  FindPathToWidget - STAT_FindPathToWidget - STATGROUP_Slate - STATCAT_Advanced
  1. LogStats:           21.403ms (   1)  -  Self
  1. LogStats:           0.033ms (   4)  -  OtherChildren
  1. LogStats:         12.551ms (   1)  -  Self
  1. LogStats:         0.008ms (   1)  -  OtherChildren
  1. LogStats:       1.671ms (   1)  -  FrameTime - STAT_FrameTime - STATGROUP_Engine - STATCAT_Advanced
  1. LogStats:         1.668ms (   1)  -  World Tick Time - STAT_WorldTickTime - STATGROUP_Game - STATCAT_Advanced
  1. LogStats:           1.568ms (   5)  -  Tick Time - STAT_TickTime - STATGROUP_Game - STATCAT_Advanced
  1. LogStats:             1.289ms (   2)  -  TG_PrePhysics - STAT_TG_PrePhysics - STATGROUP_TickGroups - STATCAT_Advanced
  1. LogStats:               1.284ms (   2)  -  ReleaseTickGroup Block - STAT_ReleaseTickGroup_Block - STATGROUP_TickGroups - STATCAT_Advanced
  1. LogStats:                 1.281ms (   1)  -  Game TaskGraph Tasks - STAT_TaskGraph_GameTasks - STATGROUP_Threading - STATCAT_Advanced
  1. LogStats:                   1.091ms (  10)  -  FTickFunctionTask - STATGROUP_TaskGraphTasks - STATCAT_Advanced
  1. LogStats:                     1.091ms (  20)  -  OtherChildren
  1. LogStats:                   0.189ms (   5)  -  OtherChildren
  1. LogStats:                 0.003ms (   2)  -  OtherChildren
  1. LogStats:               0.006ms (   6)  -  OtherChildren
  1. LogStats:             0.279ms (  22)  -  OtherChildren
  1. LogStats:           0.100ms (  16)  -  OtherChildren
  1. LogStats:         0.003ms (   2)  -  OtherChildren
  1. LogStats:       1.538ms (  63)  -  OtherChildren
  1. LogStats:       1.258ms (   2)  -  Self
  1. LogStats:     0.007ms (   3)  -  OtherChildren
  1. LogStats: ------------------ Render Thread (//STATGROUP_Threads//RenderThread///Thread_2794_0///####STATCAT_Advanced####) 81.92ms
  1. LogStats:   81.768ms ( 263)  -  Thread_2794_0 - RenderThread - STATGROUP_Threads - STATCAT_Advanced
  1. LogStats:     70.748ms (  26)  -  CPU Stall - Wait For Event - STAT_EventWait - STATGROUP_CPUStalls - STATCAT_Advanced
  1. LogStats:     6.883ms (   1)  -  FDrawSceneCommand - STATGROUP_RenderThreadCommands - STATCAT_Advanced
  1. LogStats:       6.868ms (   1)  -  RenderViewFamily - STAT_TotalSceneRenderingTime - STATGROUP_SceneRendering - STATCAT_Advanced
  1. LogStats:         2.300ms (   3)  -  WholeScene Shadow Depths - STAT_RenderWholeSceneShadowDepthsTime - STATGROUP_ShadowRendering - STATCAT_Advanced
  1. LogStats:           2.047ms (   3)  -  Dynamic Primitives - STAT_WholeSceneDynamicShadowDepthsTime - STATGROUP_ShadowRendering - STATCAT_Advanced
  1. LogStats:             1.766ms (   3)  -  Self
  1. LogStats:             0.281ms (2430)  -  OtherChildren
  1. LogStats:           0.253ms (   9)  -  OtherChildren
  1. LogStats:         2.267ms (   1)  -  InitViews - STAT_InitViewsTime - STATGROUP_SceneRendering - STATCAT_Advanced
  1. LogStats:           1.394ms (   1)  -  InitViewsPossiblyAfterPrepass - STAT_InitViewsPossiblyAfterPrepass - STATGROUP_SceneRendering - STATCAT_Advanced
  1. LogStats:             1.354ms (   1)  -  Dynamic shadow setup - STAT_DynamicShadowSetupTime - STATGROUP_SceneRendering - STATCAT_Advanced
  1. LogStats:               1.102ms ( 349)  -  STAT_HierarchicalInstancedStaticMeshSceneProxy_GetMeshElements - STATGROUP_Quick - STATCAT_Advanced
  1. LogStats:                 1.078ms ( 349)  -  HISMC_GetDynamicMeshElement - STAT_HISMCGetDynamicMeshElement - STATGROUP_Foliage - STATCAT_Advanced
  1. LogStats:                   1.078ms (1047)  -  OtherChildren
  1. LogStats:                 0.024ms ( 349)  -  OtherChildren
  1. LogStats:               0.252ms (  13)  -  OtherChildren
  1. LogStats:             0.040ms (   4)  -  OtherChildren
  1. LogStats:           0.873ms (   7)  -  OtherChildren
  1. LogStats:         1.228ms (  43)  -  OtherChildren
  1. LogStats:         1.073ms (   1)  -  Base pass drawing - STAT_BasePassDrawTime - STATGROUP_SceneRendering - STATCAT_Advanced
  1. LogStats:           1.073ms (   4)  -  OtherChildren
  1. LogStats:       0.015ms (   4)  -  OtherChildren
  1. LogStats:     1.791ms (   2)  -  CaptureCommand - STATGROUP_RenderThreadCommands - STATCAT_Advanced
  1. LogStats:       1.791ms ( 102)  -  OtherChildren
  1. LogStats:     1.444ms (   2)  -  SlateDrawWindowsCommand - STATGROUP_RenderThreadCommands - STATCAT_Advanced
  1. LogStats:       1.173ms (   2)  -  Slate RT: Rendering - STAT_SlateRenderingRTTime - STATGROUP_Slate - STATCAT_Advanced
  1. LogStats:         1.173ms (  12)  -  OtherChildren
  1. LogStats:       0.271ms (   4)  -  OtherChildren
  1. LogStats:     0.903ms ( 232)  -  OtherChildren
  1. LogStats: ----------------------------------------
  1. LogStats: Events history: Single frame 107023, greater than 1.0 ms
  1. LogStats: Displaying events history for GameThread
  1. LogStats: Displaying events history for RenderThread
  1. LogStats: Duration: 2.77 MS
  1. LogStats:  Wait   : RenderThread
  1. LogStats:  Trigger: TaskGraph_EnqueueFromOtherThread_Trigger <- Total Slate Tick Time <- FrameTime <- GameThread
  1. LogStats: Duration: 2.45 MS
  1. LogStats:  Wait   : RenderThread
  1. LogStats:  Trigger: TaskGraph_EnqueueFromOtherThread_Trigger <- Game UI Paint <- Draw Window And Children Time <- Total Slate Tick Time <- FrameTime <- GameThread
  1. LogStats: Duration: 2.11 MS
  1. LogStats:  Wait   : RenderThread
  1. LogStats:  Trigger: TaskGraph_EnqueueFromOtherThread_Trigger <- Game UI Paint <- Draw Window And Children Time <- Total Slate Tick Time <- FrameTime <- GameThread