Description

Garbage collection crash during opening cinematic. Note after crashing and relaunching the game the saved file appears as 8% complete instead of 0%.

Note this crash is also occurring with //UE4/Dev-VR CL# 4288383 P4 and UE4//Main CL# 4289353 P4

2018.08.15-18.53.58:868][759]LogGameState: Match State Changed from WaitingToStart to InProgress
[2018.08.15-18.53.58:869][759]LogLoad: Took 1.377842 seconds to LoadMap(/Game/Cinematics/Sequences/OdinIntro_VR/Maps/IntroSequence_P)
[2018.08.15-18.53.58:954][760]LogProfilingDebugging: Allocated a 1024 x 1024 texture for HMD canvas layer
[2018.08.15-18.53.59:874][879]LogUMG: Display: Widget Class UMG_ExterminationScore_C - Loaded Fast Template.
[2018.08.15-18.53.59:874][879]LogUMG: Display: Widget Class UMG_ExterminationScoreTarget_C - Loaded Fast Template.
[2018.08.15-18.53.59:875][879]LogUMG: Display: Widget Class UMG_TransmitterHealth_C - Loaded Fast Template.
[2018.08.15-18.53.59:875][879]LogSlate: Took 0.000351 seconds to synchronously load lazily loaded font '../../../RoboRecall/Content/Prototype/Fonts/Violence-RawFace.ufont' (635K)
[2018.08.15-18.54.01:041][ 23]LogHMD: FSplash::OnHide
[2018.08.15-18.54.14:869][714]LogGarbage: Warning: Object MediaPlayer /Game/Video/SampleMediaPlayer.SampleMediaPlayer (0x000001ded6a08a80) from cluster Material /Game/Video/SampleMediaPlayer_Video_Mat.SampleMediaPlayer_Video_Mat (0x000001decb338040 / 0x000001debd75c250) is referencing 0x000001dedab94b40 MediaPlaylist /Engine/Transient.MediaPlaylist_1 which is not part of root set or cluster.
[2018.08.15-18.54.14:869][714]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2018.08.15-18.54.15:341][714]LogWindows: Error: === Critical error: ===
[2018.08.15-18.54.15:341][714]LogWindows: Error: 
[2018.08.15-18.54.15:341][714]LogWindows: Error: Fatal error: [File:E:\Workspaces\SwitchStream1\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollectionVerification.cpp] [Line: 323] 
[2018.08.15-18.54.15:341][714]LogWindows: Error: Encountered 20 object(s) breaking GC Clusters assumptions. Please check log for details.

.

Steps to Reproduce
  1. Open QAGame in UE4Editor
  2. Select Edit > Project Settings
  3. Search for and enable the following settings:
    • GBuffer Format = High Precision Normals
    • Clear Coat Enable Second Normal
    • Support global clip plane for Planar Reflections
  4. Launch TM-ShaderModels on to your Windows machine

Original Repro:

  1. Compile and Cook Odin on your Windows machine by running Odin_Cook_Integrations.bat located in \Odin\Build\BatchFiles
  2. Navigate to your workspace's \Odin\Saved\StagedBuilds\WindowsNoEditor and open RoboRecall.exe
  3. Press any button on one of the touch controllers
  4. Aim at the menu with any hand and hit A while hovering over New Game
  5. Notice opening cinematic starts

Result: Garbage Collection Crash occurs
Expected Result: No Crash occurs

On Relaunch:

  1. Aim at the menu with any hand and hit A while hovering over New Game

Result: Save filed shows progress at 8%
Expected Result: Save file shows progress at 0%

Callstack
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007fffa5c950d8 KERNELBASE.dll!UnknownFunction []
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007fff556b1cfc UE4-Core.dll!FWindowsErrorOutputDevice::Serialize() [e:\workspaces\switchstream1\engine\source\runtime\core\private\windows\windowserroroutputdevice.cpp:63]
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007fff5547a177 UE4-Core.dll!FOutputDevice::LogfImpl() [e:\workspaces\switchstream1\engine\source\runtime\core\private\misc\outputdevice.cpp:70]
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007fff554054e9 UE4-Core.dll!FDebug::AssertFailed() [e:\workspaces\switchstream1\engine\source\runtime\core\private\misc\assertionmacros.cpp:425]
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007fff5e26213f UE4-CoreUObject.dll!VerifyClustersAssumptions() [e:\workspaces\switchstream1\engine\source\runtime\coreuobject\private\uobject\garbagecollectionverification.cpp:324]
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007fff5e1eb739 UE4-CoreUObject.dll!CollectGarbageInternal() [e:\workspaces\switchstream1\engine\source\runtime\coreuobject\private\uobject\garbagecollection.cpp:1530]
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007fff5e26148f UE4-CoreUObject.dll!TryCollectGarbage() [e:\workspaces\switchstream1\engine\source\runtime\coreuobject\private\uobject\garbagecollection.cpp:1680]
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007fff4e93fa24 UE4-Engine.dll!UEngine::PerformGarbageCollectionAndCleanupActors() [e:\workspaces\switchstream1\engine\source\runtime\engine\private\unrealengine.cpp:1193]
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007fff4e8d568a UE4-Engine.dll!UEngine::ConditionalCollectGarbage() [e:\workspaces\switchstream1\engine\source\runtime\engine\private\unrealengine.cpp:1168]
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007fff4e1e4a94 UE4-Engine.dll!UWorld::Tick() [e:\workspaces\switchstream1\engine\source\runtime\engine\private\leveltick.cpp:1643]
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007fff4dff7f14 UE4-Engine.dll!UGameEngine::Tick() [e:\workspaces\switchstream1\engine\source\runtime\engine\private\gameengine.cpp:1308]
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007ff6128a5620 UE4.exe!FEngineLoop::Tick() [e:\workspaces\switchstream1\engine\source\runtime\launch\private\launchengineloop.cpp:3551]
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007ff6128b2140 UE4.exe!GuardedMain() [e:\workspaces\switchstream1\engine\source\runtime\launch\private\launch.cpp:166]
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007ff6128b21ba UE4.exe!GuardedMainWrapper() [e:\workspaces\switchstream1\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007ff6128c064a UE4.exe!WinMain() [e:\workspaces\switchstream1\engine\source\runtime\launch\private\windows\launchwindows.cpp:276]
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007ff6128c201a UE4.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007fffa74b1fe4 KERNEL32.DLL!UnknownFunction []
[2018.08.15-18.57.12:158][934]LogWindows: Error: [Callstack] 0x00007fffa97ecb31 ntdll.dll!UnknownFunction []

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Foundation - Core
Affects Versions4.21
Target Fix4.21
Fix Commit4306546
Main Commit4321618
Release Commit4399518
CreatedAug 15, 2018
ResolvedAug 22, 2018
UpdatedSep 16, 2019