Description

Crash when opening a level through blueprint to go into level with world partitions enabled. 

This a not a regression due to being a new feature. 

Steps to Reproduce
  1. Open any project.
  2. Create a widget blueprint.
  3. Add a button click event that opens a level called "NewMap"
  4. Create a new level and name it "Menus"
  5. In the level Blueprint add your new widget to the viewport.
  6. Open project setting and enable world partitions. 
  7. Create a new level and name it "New Map"
  8. Check world settings in "New Map" and ensure world partitions in enabled.
  9. Open "Menu" level and PIE.
  10. Press the button.

Result: Crash 

Expected Result: "New Map" opens without issues. 

Callstack
UnrealEditor-Engine!static class FArchive & const `FWorldPartitionLevelHelper::RemapLevelSoftObjectPaths'::`2'::FSoftPathFixupSerializer::operator<<(struct FSoftObjectPath & const) [WorldPartitionLevelHelper.cpp:122]UnrealEditor-CoreUObject!FArchiveUObjectFromStructuredArchiveImpl::operator<<(FSoftObjectPath &) [ArchiveUObjectFromStructuredArchive.cpp:119]UnrealEditor-CoreUObject!FSoftObjectPath::Serialize(FArchive &) [SoftObjectPath.cpp:236]UnrealEditor-CoreUObject!UScriptStruct::SerializeItem(FStructuredArchiveSlot,void *,void const *) [Class.cpp:2746]UnrealEditor-CoreUObject!FStructProperty::SerializeItem(FStructuredArchiveSlot,void *,void const *) [PropertyStruct.cpp:152]UnrealEditor-CoreUObject!FPropertyTag::SerializeTaggedProperty(FStructuredArchiveSlot,FProperty *,unsigned char *,unsigned char *) [PropertyTag.cpp:241]UnrealEditor-CoreUObject!UStruct::SerializeVersionedTaggedProperties(FStructuredArchiveSlot,unsigned char *,UStruct *,unsigned char *,UObject const *) [Class.cpp:1589]UnrealEditor-CoreUObject!UStruct::SerializeTaggedProperties(FStructuredArchiveSlot,unsigned char *,UStruct *,unsigned char *,UObject const *) [Class.cpp:1287]UnrealEditor-CoreUObject!UObject::SerializeScriptProperties(FStructuredArchiveSlot) [Obj.cpp:1468]UnrealEditor-CoreUObject!UObject::Serialize(FStructuredArchiveRecord) [Obj.cpp:1388]UnrealEditor-CoreUObject!UObject::Serialize(FArchive &) [Obj.cpp:1273]UnrealEditor-Engine!FWorldPartitionLevelHelper::RemapLevelSoftObjectPaths(ULevel *,UWorldPartition *) [WorldPartitionLevelHelper.cpp:133]UnrealEditor-Engine!UWorldPartition::Initialize(UWorld *,FTransform const &) [WorldPartition.cpp:444]UnrealEditor-Engine!UWorldPartitionSubsystem::PostInitialize() [WorldPartitionSubsystem.cpp:77]UnrealEditor-Engine!UWorld::PostInitializeSubsystems() [World.cpp:8148]UnrealEditor-Engine!UWorld::InitWorld(UWorld::InitializationValues) [World.cpp:1763]UnrealEditor-Engine!UEngine::LoadMap(FWorldContext &,FURL,UPendingNetGame *,FString &) [UnrealEngine.cpp:13190]UnrealEditor-Engine!UEngine::Browse(FWorldContext &,FURL,FString &) [UnrealEngine.cpp:12502]UnrealEditor-Engine!UEngine::TickWorldTravel(FWorldContext &,float) [UnrealEngine.cpp:12700]UnrealEditor-UnrealEd!7ffa722b0000  + 49e3c4UnrealEditor-UnrealEd!7ffa722b0000  + dbcc16UnrealEditor!7ff7c8eb0000  + 8930UnrealEditor!7ff7c8eb0000  + 20b2cUnrealEditor!7ff7c8eb0000  + 20c0aUnrealEditor!7ff7c8eb0000  + 3573dUnrealEditor!7ff7c8eb0000  + 386baKERNEL32!7ffaf7710000  + 17034ntdll!7ffaf8750000  + 52651

Have Comments or More Details?

There's no existing public thread on this issue, so head over to AnswerHub just mention UE-135354 in the post.

0
Login to Vote

Fixed
Fix Commit16981327
CreatedNov 17, 2021
ResolvedNov 23, 2021
UpdatedNov 24, 2021