Description

Using ServerTravel from a map set as the Transition Map with Seamless Travel enabled in the Game Mode will crash the editor.

Probably related to [Link Removed]

Reproduced in 4.7.2 binary and Main (//depot/UE4/Promotable-CL-2455917)

Log attached.

Steps to Reproduce

1. Create a new Blank project
2. Save the level as NewMap
3. In Project Settings > Maps & Modes, set the Transition Map to NewMap
4. Create a new Game Mode Blueprint
5. Enable Use Seamless Travel
6. In Project Settings > Maps & Modes, set the Default Game Mode to the new Game Mode BP
7. PIE
8. Enter console command: "ServerTravel entry"

Result:
Crash

Callstack
Access violation - code c0000005 (first/second chance not available)

Ensure condition failed: !ActorComponent->IsRegistered() || ActorComponent->GetScene() != this [File:D:\BuildFarm\buildmachine_++depot+UE4\Engine\Source\Runtime\Renderer\Private\Re

UE4Editor_Engine!ULightComponent::DestroyRenderState_Concurrent() + 31 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\engine\private\lightcomponent.cpp:662]
UE4Editor_Engine!UActorComponent::ExecuteUnregisterEvents() + 409 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\engine\private\actorcomponent.cpp:982]
UE4Editor_Engine!UActorComponent::UnregisterComponent() + 399 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\engine\private\actorcomponent.cpp:815]
UE4Editor_Engine!AActor::UnregisterAllComponents() + 253 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\engine\private\actor.cpp:3191]
UE4Editor_Engine!AActor::BeginDestroy() + 18 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\engine\private\actor.cpp:413]
UE4Editor_CoreUObject!UObject::ConditionalBeginDestroy() + 447 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\obj.cpp:567]
UE4Editor_CoreUObject!StaticAllocateObject() + 2713 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1834]
UE4Editor_CoreUObject!StaticConstructObject_Internal() + 834 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2275]
UE4Editor_CoreUObject!FDuplicateDataWriter::GetDuplicatedObject() + 344 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\serialization\duplicatedatawriter.cpp:138]
UE4Editor_CoreUObject!FDuplicateDataWriter::operator<<() + 27 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\serialization\duplicatedatawriter.cpp:55]
UE4Editor_Engine!operator<<() + 360 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\public\containers\array.h:1173]
UE4Editor_Engine!ULevel::Serialize() + 535 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\engine\private\level.cpp:261]
UE4Editor_CoreUObject!StaticDuplicateObjectEx() + 2143 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1521]
UE4Editor_CoreUObject!StaticDuplicateObject() + 368 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1435]
UE4Editor_UnrealEd!UEditorEngine::CreatePIEWorldByDuplication() + 1313 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\editor\unrealed\private\playlevel.cpp:3310]
UE4Editor_Engine!FSeamlessTravelHandler::SeamlessTravelLoadCallback() + 355 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\engine\private\world.cpp:4186]
UE4Editor_Engine!TBaseRawMethodDelegateInstance<0,FSeamlessTravelHandler,void __cdecl(FName const & __ptr64,UPackage * __ptr64,enum EAsyncLoadingResult::Type)>::ExecuteIfSafe() + 14 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:582]
UE4Editor_CoreUObject!FAsyncPackage::FinishObjects() + 1410 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\serialization\asyncloading.cpp:942]
UE4Editor_CoreUObject!FAsyncPackage::Tick() + 1020 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\serialization\asyncloading.cpp:383]
UE4Editor_CoreUObject!ProcessAsyncLoading() + 653 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\serialization\asyncloading.cpp:1203]
UE4Editor_CoreUObject!StaticTick() + 207 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:348]
UE4Editor_UnrealEd!UEditorEngine::Tick() + 943 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\editor\unrealed\private\editor.cpp:991]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() + 22 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\editor\unrealed\private\unrealedengine.cpp:348]
UE4Editor!FEngineLoop::Tick() + 4538 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\launch\private\launchengineloop.cpp:2263]
UE4Editor!GuardedMain() + 1404 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Cannot Reproduce
ComponentUE - Gameplay
Affects Versions4.7.24.8
Target Fix4.11
CreatedMar 6, 2015
ResolvedFeb 24, 2016
UpdatedApr 27, 2018
View Jira Issue