Description

The 5.5 version of the CitySample project, particularly the MassCrowd scene, was not properly maintained. The previously working functionality of NPCs being able to sit on a bench is now broken. CAS_Male_BenchSit_A is missing a Roles Asset. There's also an alert of deprecation once you open up the level:
Opening the MassCrowd level on CitySample 5.5
Message log warning:
SmartObjectCollection_0 /Game/AI/Map/MassCrowd.MassCrowd:PersistentLevel.SmartObjectCollection_0 : Obsolete and must be removed! (Class is deprecated)
Map check complete: 0 Error(s), 1 Warning(s), took 0,36ms to complete.

As a showcase project of the engine's functionalities, it should be maintained between engine versions. It looks like the underlying tech changed but the CitySample project was not updated. The MassEntity plugin is deprecated in 5.5 but still being used in the project.
Other Showcase projects that were cut-out from CitySample (CitySampleCrowds, CitySampleVehicles, and CitySampleBuildings) do not have a 5.5 version, so it's expected that the one that does is working well.

I could not tell if the 5.6 version is working. I could not open the project using the version from Perforce, it failed to compile.

 

Steps to Reproduce

Open the Epic Launcher
Go to Unreal Engine
Go to Library
Scroll down to Fab Library
Search for "City Sample"
Select "City Sample"
Create Project and select 5.5
After the project is downloaded and created, open it up
Go to level MassCrowd
Notice the Deprecation message in the logs
Play-In-Editor
Check that NPCs move towards the bench but never sit on it
Stop play session
Open up CAS_Male_BenchSit_A
Notice that Roles Asset is None

Expected behavior: NPCs should be able to sit in the bench
Actual behavior: NPCs cannot sit in the bench

Callstack

Callstack to the deprecation warning:

> UnrealEditor-Engine.dll!AActor::CheckForDeprecated() Line 1568 C++
UnrealEditor-UnrealEd.dll!UEditorEngine::Map_Check(UWorld * InWorld, const wchar_t * Str, FOutputDevice & Ar, bool bCheckDeprecatedOnly, UEditorEngine::EMapCheckNotification::Type Notification, bool bClearLog) Line 3970 C++
UnrealEditor-UnrealEd.dll!UEditorEngine::HandleMapCommand(const wchar_t * Str, FOutputDevice & Ar, UWorld * InWorld) Line 6206 C++
UnrealEditor-UnrealEd.dll!UEditorEngine::Exec_Editor(UWorld * InWorld, const wchar_t * Stream, FOutputDevice & Ar) Line 5674 C++
UnrealEditor-Core.dll!FExec::Exec(UWorld * InWorld, const wchar_t * Cmd, FOutputDevice & Ar) Line 18 C++
UnrealEditor-Engine.dll!UEngine::Exec(UWorld * InWorld, const wchar_t * Cmd, FOutputDevice & Ar) Line 5027 C++
UnrealEditor-UnrealEd.dll!UUnrealEdEngine::Exec(UWorld * InWorld, const wchar_t * Stream, FOutputDevice & Ar) Line 662 C++
UnrealEditor-UnrealEd.dll!FEditorFileUtils::LoadMap(const FString & InFilename, bool LoadAsTemplate, const bool bShowProgress) Line 2998 C++
[External Code]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-268724 in the post.

0
Login to Vote

Unresolved
ComponentUE - AI
Affects Versions5.5
CreatedApr 9, 2025
UpdatedMay 2, 2025
View Jira Issue