FKContolRig::VM and FKControlRig:DynamicHierarchy crash game in packaged game

I have packaged WindowsClient and WindowsServer for our game. One of our animation blueprints control rig node uses FKControlRig. When calling this animation node in package I get this log in client on crash

[2022.09.22-10.42.34:232][ 37]LogGarbage: Warning: Disregard for GC object FKControlRig /Script/ControlRig.Default__FKControlRig referencing RigVM /Script/ControlRig.Default__FKControlRig:VM which is not part of root set
[2022.09.22-10.42.34:232][ 37]LogGarbage: Warning: Disregard for GC object FKControlRig /Script/ControlRig.Default__FKControlRig referencing RigHierarchy /Script/ControlRig.Default__FKControlRig:DynamicHierarchy which is not part of root set
[2022.09.22-10.42.34:232][ 37]LogOutputDevice: Warning:

Script Stack (0 frames):

[2022.09.22-10.42.34:232][ 37]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2022.09.22-10.42.41:998][ 37]LogWindows: Could not start crash report client using …/…/…/Engine/Binaries/Win64/CrashReportClient-Win64-Debug.exe
[2022.09.22-10.42.41:998][ 37]LogMemory: Platform Memory Stats for WindowsClient
[2022.09.22-10.42.41:998][ 37]LogMemory: Process Physical Memory: 1945.08 MB used, 2153.04 MB peak
[2022.09.22-10.42.41:998][ 37]LogMemory: Process Virtual Memory: 2747.96 MB used, 2760.82 MB peak
[2022.09.22-10.42.41:998][ 37]LogMemory: Physical Memory: 10105.89 MB used, 6212.93 MB free, 16318.82 MB total
[2022.09.22-10.42.41:998][ 37]LogMemory: Virtual Memory: 19707.05 MB used, 7966.46 MB free, 27673.50 MB total
[2022.09.22-10.42.41:998][ 37]Message dialog closed, result: Ok, title: The UE5-TACTIX Game has crashed and will close, text: Fatal error: [File:D:\Work\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollectionVerification.cpp] [Line: 137]
Encountered 2 object(s) breaking Disregard for GC assumptions. Please check log for details.

[2022.09.22-10.42.41:998][ 37]LogWindows: Error: === Critical error: ===
[2022.09.22-10.42.41:998][ 37]LogWindows: Error:
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: Fatal error: [File:D:\Work\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollectionVerification.cpp] [Line: 137]
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: Encountered 2 object(s) breaking Disregard for GC assumptions. Please check log for details.
[2022.09.22-10.42.41:998][ 37]LogWindows: Error:
[2022.09.22-10.42.41:998][ 37]LogWindows: Error:
[2022.09.22-10.42.41:998][ 37]LogWindows: Error:
[2022.09.22-10.42.41:998][ 37]LogWindows: Error:
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: [Callstack] 0x00007ff738ec53bc TACTIXClient.exe!VerifyGCAssumptions() [D:\Work\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollectionVerification.cpp:138]
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: [Callstack] 0x00007ff738e2c6bd TACTIXClient.exe!CollectGarbageInternal() [D:\Work\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:2272]
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: [Callstack] 0x00007ff738ec10ea TACTIXClient.exe!TryCollectGarbage() [D:\Work\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:2567]
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: [Callstack] 0x00007ff73e0e592d TACTIXClient.exe!UEngine::ConditionalCollectGarbage() [D:\Work\UnrealEngine-release\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp:1683]
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: [Callstack] 0x00007ff73d8b4587 TACTIXClient.exe!UWorld::Tick() [D:\Work\UnrealEngine-release\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1737]
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: [Callstack] 0x00007ff73d6d9e40 TACTIXClient.exe!UGameEngine::Tick() [D:\Work\UnrealEngine-release\Engine\Source\Runtime\Engine\Private\GameEngine.cpp:1831]
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: [Callstack] 0x00007ff7371a9a42 TACTIXClient.exe!FEngineLoop::Tick() [D:\Work\UnrealEngine-release\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5215]
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: [Callstack] 0x00007ff7371c194c TACTIXClient.exe!GuardedMain() [D:\Work\UnrealEngine-release\Engine\Source\Runtime\Launch\Private\Launch.cpp:183]
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: [Callstack] 0x00007ff7371c1a1a TACTIXClient.exe!GuardedMainWrapper() [D:\Work\UnrealEngine-release\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147]
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: [Callstack] 0x00007ff7371c4b2c TACTIXClient.exe!LaunchWindowsStartup() [D:\Work\UnrealEngine-release\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283]
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: [Callstack] 0x00007ff7371d6124 TACTIXClient.exe!WinMain() [D:\Work\UnrealEngine-release\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:331]
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: [Callstack] 0x00007ff73f2e5f9a TACTIXClient.exe!__scrt_common_main_seh() [d:\a01_work\20\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: [Callstack] 0x00007ffa67ef7034 KERNEL32.DLL!UnknownFunction
[2022.09.22-10.42.41:998][ 37]LogWindows: Error: [Callstack] 0x00007ffa68582651 ntdll.dll!UnknownFunction
[2022.09.22-10.42.41:998][ 37]LogWindows: Error:
[2022.09.22-10.42.42:061][ 37]LogExit: Executing StaticShutdownAfterError
[2022.09.22-10.42.42:062][ 37]LogWindows: FPlatformMisc::RequestExit(1)
[2022.09.22-10.42.42:062][ 37]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3)
[2022.09.22-10.42.42:062][ 37]LogCore: Engine exit requested (reason: Win RequestExit)
[2022.09.22-10.42.42:071][ 37]Log file closed, 09/22/22 13:42:42

Does anybody know what is the problem with this?

that just happened to me. Hope someone knows a solution!

Yup I’m getting this as well. I have one ABP that uses control rig but it gets inherited by a bunch of other ABP’s…

1 Like

Hello @Rewriter00x and @Ridelrr
please refer to:

and this tutorial:

and this for solution:

hope I could help!

Hello! Maybe you already solved it, but I recently had the same problem, exactly the same error!
Next: Actually, it doesn’t have much to do with the animation, as I wasn’t even using IKcontrolRig in the game, but the same error appeared:
Encountered 2 object(s) breaking Disregard for GC assumptions
My animations were all exported via Bake Anim. But what really happened is that the Garbage Collection was removing some object. How did I solve it?
I simply deactivated the ControlRig plugin, (do bake animation first in every level sequence you are using) I did Package again, and it worked, the game no longer crashed.

this is will be crashed
scam…