City Sample fails to compile on UE5 Linux - SoundScape, ElectraPlayer and more

Has anyone succeeded in running the CitySample project in a Linux environment? I succeeded in compiling and loading the project, but when I press the play button, a crash occurs(I have tried both Small_city and Big_city).

================================= Crash Log ==================================
Assertion failed: Pair != nullptr [File:Runtime/Core/Public/Containers/Map.h] [Line: 643]

libUnrealEditor-MassEntity.so!FMassEntityView::GetFragmentPtrChecked(UScriptStruct const&) const [/home/ubuntu/UnrealEngine5/Engine/Source/./…/Plugins/Runtime/MassEntity/Source/MassEntity/Private/MassEntityView.cpp:41]
libUnrealEditor-MassActors.so!UE::Core::Private::Function::TFunctionRefCaller<UMassAgentMovementSyncTrait::BuildTemplate(FMassEntityTemplateBuildContext&, UWorld&) const::$_97, void (UObject&, FMassEntityView&, EMassTranslationDirection)>::Call(void*, UObject&, FMassEntityView&, EMassTranslationDirection&) [/home/ubuntu/UnrealEngine5/Engine/Source/Runtime/Core/Public/Templates/Function.h:548]
libUnrealEditor-MassActors.so!UMassAgentSubsystem::HandlePendingInitialization() [/home/ubuntu/UnrealEngine5/Engine/Source/./…/Plugins/Runtime/MassGameplay/Source/MassActors/Private/MassAgentSubsystem.cpp:324]
libUnrealEditor-MassActors.so!TBaseUObjectMethodDelegateInstance<false, UMassAgentSubsystem, void (float), FDefaultDelegateUserPolicy, EMassProcessingPhase>::ExecuteIfSafe(float) const [/home/ubuntu/UnrealEngine5/Engine/Source/Runtime/Core/Public/Delegates/DelegateInstancesImpl.h:609]
libUnrealEditor-MassEntity.so!TMulticastDelegate<void (float), FDefaultDelegateUserPolicy>::Broadcast(float) const [/home/ubuntu/UnrealEngine5/Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl:967]
libUnrealEditor-MassEntity.so!FMassProcessingPhase::ExecuteTick(float, ELevelTick, ENamedThreads::Type, TRefCountPtr const&) [/home/ubuntu/UnrealEngine5/Engine/Source/./…/Plugins/Runtime/MassEntity/Source/MassEntity/Private/MassProcessingPhase.cpp:60]
libUnrealEditor-Engine.so!FTickFunctionTask::DoTask(ENamedThreads::Type, TRefCountPtr const&) [/home/ubuntu/UnrealEngine5/Engine/Source/./Runtime/Engine/Private/TickTaskManager.cpp:284]
libUnrealEditor-Engine.so!TGraphTask::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type, bool) [/home/ubuntu/UnrealEngine5/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:975]
libUnrealEditor-Core.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [/home/ubuntu/UnrealEngine5/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:753]
libUnrealEditor-Core.so!FNamedTaskThread::ProcessTasksUntilQuit(int) [/home/ubuntu/UnrealEngine5/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:641]
libUnrealEditor-Core.so!FTaskGraphCompatibilityImplementation::ProcessThreadUntilRequestReturn(ENamedThreads::Type) [/home/ubuntu/UnrealEngine5/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:2114]
libUnrealEditor-Core.so!FTaskGraphCompatibilityImplementation::WaitUntilTasksComplete(TArray<TRefCountPtr, TSizedInlineAllocator<4u, 32, TSizedDefaultAllocator<32> > > const&, ENamedThreads::Type) [/home/ubuntu/UnrealEngine5/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:2168]
libUnrealEditor-Engine.so!FTickTaskSequencer::ReleaseTickGroup(ETickingGroup, bool) [/home/ubuntu/UnrealEngine5/Engine/Source/./Runtime/Engine/Private/TickTaskManager.cpp:564]
libUnrealEditor-Engine.so!FTickTaskManager::RunTickGroup(ETickingGroup, bool) [/home/ubuntu/UnrealEngine5/Engine/Source/./Runtime/Engine/Private/TickTaskManager.cpp:1591]
libUnrealEditor-Engine.so!UWorld::Tick(ELevelTick, float) [/home/ubuntu/UnrealEngine5/Engine/Source/./Runtime/Engine/Private/LevelTick.cpp:1531]
libUnrealEditor-UnrealEd.so!UEditorEngine::Tick(float, bool) [/home/ubuntu/UnrealEngine5/Engine/Source/./Editor/UnrealEd/Private/EditorEngine.cpp:1775]
libUnrealEditor-UnrealEd.so!UUnrealEdEngine::Tick(float, bool) [/home/ubuntu/UnrealEngine5/Engine/Source/./Editor/UnrealEd/Private/UnrealEdEngine.cpp:471]
UnrealEditor!FEngineLoop::Tick() [/home/ubuntu/UnrealEngine5/Engine/Source/./Runtime/Launch/Private/LaunchEngineLoop.cpp:5209]
UnrealEditor!GuardedMain(char16_t const*) [/home/ubuntu/UnrealEngine5/Engine/Source/./Runtime/Launch/Private/Launch.cpp:185]
libUnrealEditor-UnixCommonStartup.so!CommonUnixMain(int, char**, int ()(char16_t const), void (*)()) [/home/ubuntu/UnrealEngine5/Engine/Source/Runtime/Unix/UnixCommonStartup/Private/UnixCommonStartup.cpp:264]
libc.so.6!__libc_start_main(+0xf2)
UnrealEditor!_start()
============================ Crash Log =======================================

My development environment is as follows:

  • Ubuntu 20.04
  • Intel i9-12900K
  • RAM 64GB
  • Nvidia RTX 3070 Ti
3 Likes