I have a project that I build after every change, after the migration to 4.18 I am no longer able to launch a server.
I am building the server using this command:
RunUAT.sh -ScriptsForProject=$(pwd)/TownDefence.uproject BuildCookRun -project=$(pwd)/TownDefence.uproject -noP4 -clientconfig=Development -serverconfig=Development -utf8output -platform=Linux -server -serverplatform=Linux -targetplatform=Linux -build -cook -allmaps -compressed -stage -pak -archive -unversionedcookedcontent -archivedirectory="${target}/TownDefence/"
The server and the client builds ok, the Client launches OK(it uses a different Default Map)
The error I am getting when launching the server is:
[2018.01.11-09.07.12:877][ 0]LogLoad: LoadMap: /Game/Code/Maps/DefaultMap?Name=Player
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/BP_AnyCharacter 3 Export_Create /Game/Code/Character/BP_AnyCharacter/Default__BP_AnyCharacter_C/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/AgressionData -3 Import_Create /Game/Code/Character/BP_AnyCharacter/Default__BP_AnyCharacter_C/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/AgressionData 1 Export_StartIO /Game/Code/Character/AgressionData/AgressionData/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/AgressionData 1 Export_Serialize /Game/Code/Character/AgressionData/AgressionData/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/BP_AnyCharacter -285 Import_Serialize /Game/Code/Character/AgressionData/AgressionData/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/BP_AnyCharacter 700 Export_StartIO /Game/Code/Character/BP_AnyCharacter/BP_AnyCharacter_C/ExecuteUbergraph_BP_AnyCharacter/K2Node_MakeStruct_AgressionData/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/BP_AnyCharacter 700 Export_Serialize /Game/Code/Character/BP_AnyCharacter/BP_AnyCharacter_C/ExecuteUbergraph_BP_AnyCharacter/K2Node_MakeStruct_AgressionData/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/BP_AnyCharacter 16 Export_StartIO /Game/Code/Character/BP_AnyCharacter/BP_AnyCharacter_C/ExecuteUbergraph_BP_AnyCharacter/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/BP_AnyCharacter 16 Export_Serialize /Game/Code/Character/BP_AnyCharacter/BP_AnyCharacter_C/ExecuteUbergraph_BP_AnyCharacter/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/BP_AnyCharacter 2 Export_StartIO /Game/Code/Character/BP_AnyCharacter/BP_AnyCharacter_C/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/BP_AnyCharacter 2 Export_Serialize /Game/Code/Character/BP_AnyCharacter/BP_AnyCharacter_C/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/BP_AnyCharacter 3 Export_Create /Game/Code/Character/BP_AnyCharacter/Default__BP_AnyCharacter_C/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/BP_AnyCharacter 670 Export_Create /Game/Code/Character/BP_AnyCharacter/Default__BP_AnyCharacter_C/CharacterMesh0/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/BP_AnyCharacter 670 Export_StartIO /Game/Code/Character/BP_AnyCharacter/Default__BP_AnyCharacter_C/CharacterMesh0/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/BP_AnyCharacter 670 Export_Serialize /Game/Code/Character/BP_AnyCharacter/Default__BP_AnyCharacter_C/CharacterMesh0/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/Spider -48 Import_Serialize /Game/Code/Character/BP_AnyCharacter/Default__BP_AnyCharacter_C/CharacterMesh0/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/Spider 2 Export_StartIO /Game/Code/Character/Spider/Spider_C/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/Spider 2 Export_Serialize /Game/Code/Character/Spider/Spider_C/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/Spider 3 Export_Create /Game/Code/Character/Spider/Default__Spider_C/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/Spider 28 Export_Create /Game/Code/Character/Spider/Default__Spider_C/CharacterMesh0/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/Spider 3 Export_StartIO /Game/Code/Character/Spider/Default__Spider_C/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Character/Spider 3 Export_Serialize /Game/Code/Character/Spider/Default__Spider_C/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Maps/DefaultMap -211 Import_Serialize /Game/Code/Character/Spider/Default__Spider_C/
[2018.01.11-09.07.13:176][ 0]LogStreaming: Error: Cycle Node /Game/Code/Maps/DefaultMap 0 Package_ExportsSerialized
[2018.01.11-09.07.13:910][ 0]LogLinux: Error: appError called: Assertion failed: [File:/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading.cpp] [Line: 1376]
Async loading event graph contained a cycle, see above.
[2018.01.11-09.07.14:463][ 0]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to write memory at address 0x0000000000000003
[2018.01.11-09.07.14:464][ 0]LogLinux: Assertion failed: [File:/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading.cpp] [Line: 1376]
Async loading event graph contained a cycle, see above.
0x00000000022a4ebf FLinuxPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*) [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformStackWalk.cpp:1040]
0x0000000002181436 FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*) [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformStackWalk.cpp:173]
0x00000000022a4d0a Unknown [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformStackWalk.cpp:0]
0x00000000022539c2 FLinuxCrashContext::CaptureStackTrace() [Runtime/Core/Public/Containers/ContainerAllocationPolicies.h:332]
0x0000000004f615b0 CommonLinuxCrashHandler(FGenericCrashContext const&) [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/Linux/LinuxCommonStartup/Private/LinuxCommonStartup.cpp:37]
0x0000000002255080 PlatformCrashHandler(int, siginfo_t*, void*) [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformCrashContext.cpp:597]
0x00007fba50f75db0 /usr/lib/libpthread.so.0(+0x11db0) [0x7fba50f75db0]
0x000000000217a5e6 FGenericPlatformMisc::RaiseException(unsigned int) [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp:354]
0x00000000024f13a6 FLinuxErrorOutputDevice::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/ApplicationCore/Private/Linux/LinuxErrorOutputDevice.cpp:58]
0x000000000234024b FOutputDevice::Logf(wchar_t const*, ...) [Runtime/Core/Public/HAL/UnrealMemory.h:159]
0x00000000022e7d74 FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) [Runtime/Core/Public/Containers/ContainerAllocationPolicies.h:356]
0x000000000252108d FEventLoadGraph::CheckForCycles() [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading.cpp:1376]
0x0000000002542881 FAsyncLoadingThread::CheckForCycles() [Runtime/Core/Public/Containers/Array.h:633]
0x0000000002541dc0 FAsyncLoadingThread::TickAsyncLoading(bool, bool, float, FFlushTree*) [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading.cpp:234]
0x00000000025442dc FlushAsyncLoading(int) [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading.cpp:6738]
0x000000000270c300 LoadPackageInternal(UPackage*, wchar_t const*, unsigned int, FLinkerLoad*) [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp:1154]
0x000000000270969a LoadPackage(UPackage*, wchar_t const*, unsigned int) [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp:1430]
0x0000000004b58782 UEngine::LoadMap(FWorldContext&, FURL, UPendingNetGame*, FString&) [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp:10467]
0x0000000004b55802 UEngine::Browse(FWorldContext&, FURL, FString&) [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp:9948]
0x00000000043c9421 UGameInstance::StartGameInstance() [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/Engine/Private/GameInstance.cpp:434]
0x000000000439ffec UGameEngine::Start() [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/Engine/Private/GameEngine.cpp:712]
0x000000000212fb38 FEngineLoop::Init() [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp:2726]
0x00000000021353d5 GuardedMain(wchar_t const*) [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/Launch/Private/Launch.cpp:52]
0x0000000004f620d7 CommonLinuxMain(int, char**, int (*)(wchar_t const*)) [/mnt/ssd2/fastrepos/UnrealEngine/Engine/Source/Runtime/Linux/LinuxCommonStartup/Private/LinuxCommonStartup.cpp:236]
0x00007fba5023bf4a /usr/lib/libc.so.6(__libc_start_main+0xea) [0x7fba5023bf4a]
0x0000000002129c0a /mnt/ssd2/fastrepos/builds/TownDefence/LinuxServer/TownDefence/Binaries/Linux/TownDefenceServer(_start+0x2a) [0x2129c0a]
The full launch CLI error is here: Crashing UE4 server 4.18 · GitHub
This project was previously affected by https://answers.unrealengine.com/questions/718928/4180-editor-crash-while-opening-child-blueprint.html which I suspect is similar to there as BP_AnyCharacter is base for every other character like the Spider character(From the error) with loads of inheritance.
I have no idea how to reproduce this but I am free to provide access to the project if need be.