[2024.05.16-07.11.45:132][593]LogTemp: AWXCharacter::InitEnd_Mesh
[2024.05.16-07.11.45:148][593]LogTemp: AWXCharacter::InitEnd
[2024.05.16-07.11.53:155][835]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) MovieSceneCompiledData /Game/WXCY/Blueprints/UI/Logic/HUD/InGame/Mainwindow/CmnEvent/WBP_CmnEventItem.WBP_CmnEventItem_C:NewAnimation_INST.CompiledData is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.16-07.11.53:158][835]LogOutputDevice: Warning:
Script Stack (0 frames) :
[2024.05.16-07.11.53:159][835]LogWindows: Error: appError called: Fatal error: [File:D:\GitUnrealRespo\UnrealEngine\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollectionVerification.cpp] [Line: 439]
Encountered 1 object(s) breaking Object and Internal flag assumptions. Please check log for details.
For me the editor and packaged build client is fine.
The server build is crashing with the following error.
[2024.05.21-10.27.09:355][ 39]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) MovieSceneCompiledData /UICore/Controls/Extra/BP_OptionBoxIndicator.BP_OptionBoxIndicator_C:SelectAnimation_INST.CompiledData is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.21-10.27.09:356][ 39]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) MovieSceneCompiledData /UICore/BP_ScreenRoot.BP_ScreenRoot_C:Alpha_INST.CompiledData is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.21-10.27.09:356][ 39]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) MovieSceneCompiledData /UICore/BP_ScreenRoot.BP_ScreenRoot_C:Down_INST.CompiledData is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.21-10.27.09:357][ 39]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) MovieSceneCompiledData /UICore/BP_ScreenRoot.BP_ScreenRoot_C:Left_INST.CompiledData is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.21-10.27.09:357][ 39]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) MovieSceneCompiledData /UICore/BP_ScreenRoot.BP_ScreenRoot_C:Right_INST.CompiledData is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.21-10.27.09:358][ 39]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) MovieSceneCompiledData /UICore/BP_ScreenRoot.BP_ScreenRoot_C:Scale_INST.CompiledData is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.21-10.27.09:358][ 39]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) MovieSceneCompiledData /Insight/Screen_InsightRoot.Screen_InsightRoot_C:CustomEnterAnimation_INST.CompiledData is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.21-10.27.09:359][ 39]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) MovieSceneCompiledData /UICore/BP_ScreenRoot.BP_ScreenRoot_C:Up_INST.CompiledData is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.21-10.27.09:359][ 39]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) MovieSceneCompiledData /Insight/Controls/New/BP_Control_Insight_SimpleButton.BP_Control_Insight_SimpleButton_C:PressAnimation_INST.CompiledData is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.21-10.27.09:360][ 39]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) MovieSceneCompiledData /Insight/Controls/New/BP_Control_Insight_SimpleButton.BP_Control_Insight_SimpleButton_C:SelectAnimation_INST.CompiledData is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.21-10.27.09:363][ 39]LogWindows: Error: Windows GetLastError: The system could not find the environment option that was entered. (203)
[2024.05.21-10.27.10:390][ 39]LogWindows: Could not start crash report client using ../../../Engine/Binaries/Win64/CrashReportClient-Win64-Debug.exe
[2024.05.21-10.27.10:390][ 39]LogMemory: Platform Memory Stats for WindowsServer
[2024.05.21-10.27.10:391][ 39]LogMemory: Process Physical Memory: 250.88 MB used, 263.23 MB peak
[2024.05.21-10.27.10:391][ 39]LogMemory: Process Virtual Memory: 167.25 MB used, 185.04 MB peak
[2024.05.21-10.27.10:391][ 39]LogMemory: Physical Memory: 46813.50 MB used, 17849.36 MB free, 64662.87 MB total
[2024.05.21-10.27.10:391][ 39]LogMemory: Virtual Memory: 73611.95 MB used, 32010.92 MB free, 105622.87 MB total
[2024.05.21-10.27.10:392][ 39]LogWindows: Error: === Critical error: ===
[2024.05.21-10.27.10:393][ 39]LogWindows: Error:
[2024.05.21-10.27.10:393][ 39]LogWindows: Error: Fatal error: [File:E:\Work\EpiphanyUnrealEngine\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollectionVerification.cpp] [Line: 439]
[2024.05.21-10.27.10:393][ 39]LogWindows: Error: Encountered 10 object(s) breaking Object and Internal flag assumptions. Please check log for details.
[2024.05.21-10.27.10:394][ 39]LogWindows: Error:
[2024.05.21-10.27.10:394][ 39]LogWindows: Error:
[2024.05.21-10.27.10:394][ 39]LogWindows: Error: [Callstack] 0x00007ff7a4150da3 GameServer.exe!VerifyObjectFlags() [E:\Work\EpiphanyUnrealEngine\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollectionVerification.cpp:440]
[2024.05.21-10.27.10:395][ 39]LogWindows: Error: [Callstack] 0x00007ff7a3fe4c84 GameServer.exe!UE::GC::PreCollectGarbageImpl<1>() [E:\Work\EpiphanyUnrealEngine\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:5470]
[2024.05.21-10.27.10:395][ 39]LogWindows: Error: [Callstack] 0x00007ff7a4061d90 GameServer.exe!UE::GC::FReachabilityAnalysisState::PerformReachabilityAnalysisAndConditionallyPurgeGarbage() [E:\Work\EpiphanyUnrealEngine\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:5664]
[2024.05.21-10.27.10:395][ 39]LogWindows: Error: [Callstack] 0x00007ff7a4010ffb GameServer.exe!CollectGarbage() [E:\Work\EpiphanyUnrealEngine\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp:6007]
[2024.05.21-10.27.10:396][ 39]LogWindows: Error: [Callstack] 0x00007ff7a9ae9daf GameServer.exe!UEngine::TrimMemory() [E:\Work\EpiphanyUnrealEngine\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp:15593]
[2024.05.21-10.27.10:396][ 39]LogWindows: Error: [Callstack] 0x00007ff7a9aadd08 GameServer.exe!UEngine::LoadMap() [E:\Work\EpiphanyUnrealEngine\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp:15194]
[2024.05.21-10.27.10:396][ 39]LogWindows: Error: [Callstack] 0x00007ff7a9a3c9a5 GameServer.exe!UEngine::Browse() [E:\Work\EpiphanyUnrealEngine\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp:14670]
[2024.05.21-10.27.10:397][ 39]LogWindows: Error: [Callstack] 0x00007ff7a9ae2b6f GameServer.exe!UEngine::TickWorldTravel() [E:\Work\EpiphanyUnrealEngine\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp:14868]
[2024.05.21-10.27.10:397][ 39]LogWindows: Error: [Callstack] 0x00007ff7a8d1f8a1 GameServer.exe!UGameEngine::Tick() [E:\Work\EpiphanyUnrealEngine\Engine\Source\Runtime\Engine\Private\GameEngine.cpp:1775]
[2024.05.21-10.27.10:397][ 39]LogWindows: Error: [Callstack] 0x00007ff7aa50138c GameServer.exe!FEngineLoop::Tick() [E:\Work\EpiphanyUnrealEngine\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5910]
[2024.05.21-10.27.10:397][ 39]LogWindows: Error: [Callstack] 0x00007ff7aa5164cc GameServer.exe!GuardedMain() [E:\Work\EpiphanyUnrealEngine\Engine\Source\Runtime\Launch\Private\Launch.cpp:180]
[2024.05.21-10.27.10:398][ 39]LogWindows: Error: [Callstack] 0x00007ff7aa51659a GameServer.exe!GuardedMainWrapper() [E:\Work\EpiphanyUnrealEngine\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
[2024.05.21-10.27.10:398][ 39]LogWindows: Error: [Callstack] 0x00007ff7aa518ed5 GameServer.exe!LaunchWindowsStartup() [E:\Work\EpiphanyUnrealEngine\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
[2024.05.21-10.27.10:399][ 39]LogWindows: Error: [Callstack] 0x00007ff7aa5243a4 GameServer.exe!WinMain() [E:\Work\EpiphanyUnrealEngine\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:299]
[2024.05.21-10.27.10:399][ 39]LogWindows: Error: [Callstack] 0x00007ff7aedcbdba GameServer.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2024.05.21-10.27.10:399][ 39]LogWindows: Error: [Callstack] 0x00007ffdd534257d KERNEL32.DLL!UnknownFunction []
[2024.05.21-10.27.10:400][ 39]LogWindows: Error:
[2024.05.21-10.27.10:409][ 39]LogExit: Executing StaticShutdownAfterError
[2024.05.21-10.27.10:410][ 39]LogWindows: FPlatformMisc::RequestExit(1, LaunchWindowsStartup.ExceptionHandler)
[2024.05.21-10.27.10:410][ 39]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3, LaunchWindowsStartup.ExceptionHandler)
[2024.05.21-10.27.10:410][ 39]LogCore: Engine exit requested (reason: Win RequestExit)
An example of one pieces of code causing an error is.
I also have this issue about unreachable garbage collection at the exact moment I attempt to connect a client over LAN to my Linux dedicated server.
[2024.05.22-15.37.54:875][363]LogNet: AddClientConnection: Added client connection: [UNetConnection] RemoteAddr: 192.168.1.71:55786, Name: IpConnection_2147482324, Driver: Name:GameNetDriver Def:GameNetDriver IpNetDriver_2147482421, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID
[2024.05.22-15.37.54:880][363]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) EdGraphPin_Deprecated /Script/Engine.Default__EdGraphPin_Deprecated is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.22-15.37.54:880][363]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) BlueprintGeneratedClass /Engine/EngineDamageTypes/DmgTypeBP_Environmental.DmgTypeBP_Environmental_C is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.22-15.37.54:880][363]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) DmgTypeBP_Environmental_C /Engine/EngineDamageTypes/DmgTypeBP_Environmental.Default__DmgTypeBP_Environmental_C is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.22-15.37.54:880][363]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) BlendProfile /Script/Engine.Default__BlendProfile is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.22-15.37.54:881][363]LogOutputDevice: Warning:
Script Stack (0 frames) :
[2024.05.22-15.37.54:893][363]LogCore: Error: appError called: Fatal error: [File:.\Runtime/CoreUObject/Private/UObject/GarbageCollectionVerification.cpp] [Line: 439]
Encountered 4 object(s) breaking Object and Internal flag assumptions. Please check log for details.
We just updated our working project from 5.3.2 to 5.4.1 and are now receiving a list of over three thousand objects that are breaking the garbage collector rules so we are stuck without a solution too. " Error message: Fatal error: [File:C:\FS\Git\UnrealEngine\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollectionVerification.cpp] [Line: 439] Encountered 3064 object(s) breaking Object and Internal flag assumptions."
Hi all, wow was I glad to see this post. I was about to have a breakdown when I realised my client could no longer connect. Worked fine in 5.3.2, similiar errors as above, all widgets fail on GC. Has anyone reported this directly to Epic, do they pick stuff up from here?
[2024.05.28-21.14.04:955][675]PacketHandlerLog: Loaded PacketHandler component: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)
[2024.05.28-21.14.04:955][675]LogNet: NotifyAcceptedConnection: Name: NB_WP_BuildingTestMap, TimeStamp: 05/28/24 22:14:04, [UNetConnection] RemoteAddr: 76561198020064681:7777, Name: SteamSocketsNetConnection_2147481997, Driver: Name:GameNetDriver Def:GameNetDriver SteamSocketsNetDriver_2147482304, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID
[2024.05.28-21.14.04:955][675]LogNet: AddClientConnection: Added client connection: [UNetConnection] RemoteAddr: 76561198020064681:7777, Name: SteamSocketsNetConnection_2147481997, Driver: Name:GameNetDriver Def:GameNetDriver SteamSocketsNetDriver_2147482304, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID
[2024.05.28-21.14.04:956][675]LogNet: SteamSockets: New connection (977224301) over listening socket accepted 76561198020064681:7777
[2024.05.28-21.14.04:987][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) WidgetBlueprintGeneratedClass /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.28-21.14.04:988][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) ComponentDelegateBinding /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C:ComponentDelegateBinding_0 is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.28-21.14.04:988][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) Function /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C:BndEvt__WB_ReturnBackToMenu_Quit_K2Node_ComponentBoundEvent_2_OnClicked__DelegateSignature is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.28-21.14.04:989][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) Function /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C:BndEvt__WB_SingleButton_1_K2Node_ComponentBoundEvent_1_OnClicked__DelegateSignature is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.28-21.14.04:992][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) Function /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C:BndEvt__WB_SingleButton_K2Node_ComponentBoundEvent_0_OnClicked__DelegateSignature is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.28-21.14.04:992][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) Function /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C:Call_On_TabChanged is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.28-21.14.04:993][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) Function /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C:ExecuteUbergraph_WB_ReturnBackToMenu is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.28-21.14.04:993][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) Function /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C:Get_ContentToFit is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.28-21.14.04:994][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) Function /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C:Get_FocusedName is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.28-21.14.04:994][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) Function /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C:Get_Navigables is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.28-21.14.04:994][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) Function /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C:Get_NavigationInfo is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.28-21.14.04:995][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) Function /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C:Get_TabButtons is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.28-21.14.04:995][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) Function /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C:Get_TabConstructorReference is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.28-21.14.04:995][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) Function /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C:IsBeginPlayScreenEnd? is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.28-21.14.04:996][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) Function /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C:IsFocusable? is marked with at least one of the unreachable flags at the beginning of GC
[2024.05.28-21.14.04:996][676]LogGarbage: Warning: Object (Unreachable<1>) (NeverGCed) Function /Game/UltimateMenu/UserInterface/Examples/FullScreenInformers/WB_ReturnBackToMenu.WB_ReturnBackToMenu_C:IsFocused? is marked with at least one of the unreachable flags at the beginning of GC
Not sure if other filed a bug or not, but I didn’t.
Only hoping someone has a solution - even temporary - to fix this one…
But this is a hairy one.
I have the same issue - the dedicated server crashes when trying to connect to it.
I found that the problem is due to the garbage collector (GC) in version 5.4, which now marks all objects that are “Disregard to GC” (loaded during the PreInit state of the engine initialization) as “reachable”. These objects are added to the root set, but if it is a BP-generated class, it will not be. Consequently, the GC interprets these objects as unreachable, even though they are still “Disregard to GC” and thus not managed by the GC (at least their reachability flags are not getting updated). This leads to an assertion failure.
I have several BP assets that are loaded in the class constructor through ConstructorHelpers::FClassFinder, and these objects were causing the crash for me. I was able to fix it by enabling the usage of “Disregard to GC” on the dedicated server in the *Engine.ini file: