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

**URL:** <https://forums.unrealengine.com/t/city-sample-fails-to-compile-on-ue5-linux-soundscape-electraplayer-and-more/520562>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, UE5-0, bug-report\
**Created:** [April 8, 2022, 4:18pm UTC](https://forums.unrealengine.com/t/city-sample-fails-to-compile-on-ue5-linux-soundscape-electraplayer-and-more/520562 "2022-04-08T16:18:49Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![JamesYoo82](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jamesyoo82/32/1047479_2.png) [@JamesYoo82](https://forums.unrealengine.com/u/JamesYoo82)\
**Post date:** [May 14, 2022, 4:12am UTC](https://forums.unrealengine.com/t/city-sample-fails-to-compile-on-ue5-linux-soundscape-electraplayer-and-more/520562/6 "2022-05-14T04:12:06Z")

</div>

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

---

_[View the full topic](https://forums.unrealengine.com/t/city-sample-fails-to-compile-on-ue5-linux-soundscape-electraplayer-and-more/520562)._
