Description

This is a common crash that has been affecting users since 4.16.

It may be unrelated, but a non-crash bug mentioned the same stack in [Link Removed]

User Descriptions

  • I was creating a level and dragging it into the "Levels" view, and before I tried to drag accidentally a map build data registry into that view.

Source Context

 6233       void UWorld::SetActiveLevelCollection(const FLevelCollection* InCollection)
 6234       {
 6235       	ActiveLevelCollection = InCollection;
 6236       
 6237       	PersistentLevel = InCollection->GetPersistentLevel();
 6238       	if (IsGameWorld())
 6239       	{
 6240       		SetCurrentLevel(InCollection->GetPersistentLevel());
 6241       	}
 6242       	GameState = InCollection->GetGameState();
 6243       	NetDriver = InCollection->GetNetDriver();
 6244       	DemoNetDriver = InCollection->GetDemoNetDriver();
 6245       
 6246       	// TODO: START TEMP FIX FOR UE-42508
 6247 ***** 	if (NetDriver && NetDriver->NetDriverName != NAME_None)
 6248       	{
 6249       		UNetDriver* TempNetDriver = GEngine->FindNamedNetDriver(this, NetDriver->NetDriverName);
 6250       		if (TempNetDriver != NetDriver)
 6251       		{
 6252       			UE_LOG(LogWorld, Warning, TEXT("SetActiveLevelCollection attempted to use an out of date NetDriver: %s"), *(NetDriver->NetDriverName.ToString()));
 6253       			NetDriver = TempNetDriver;
 6254       		}
 6255       	}
Steps to Reproduce
  1. Create a new blank blueprint project.
  2. Save the current level as Map1.
  3. Choose File -> New Level..., Default.
  4. Save this new level as Map2.
  5. Open the levels window and drag Map1 onto it from the content browser.
  6. Double click Map1 in the content browser, save Map2 when prompted.
  7. Once open, drag Map2 onto the levels window for Map1.
  8. Double click Map2 in the content browser.
    Crash occurs on one of the last two steps.
Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_Engine!UWorld::SetActiveLevelCollection() [world.cpp:6248]
UE4Editor_Engine!FScopedLevelCollectionContextSwitch::~FScopedLevelCollectionContextSwitch() [world.cpp:260]
UE4Editor_Engine!UWorld::Tick() [leveltick.cpp:1499]
UE4Editor_UnrealEd!UEditorEngine::Tick() [editorengine.cpp:1450]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [unrealedengine.cpp:402]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3215]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions4.164.17
Target Fix4.18
Fix Commit3680676
Release Commit3680676
CreatedSep 14, 2017
ResolvedOct 4, 2017
UpdatedOct 9, 2017
View Jira Issue