Description

Editor Crash when switching from a level to its sublevel. The sublevel contains an instance of an actor that references a character actor. See UDN for full context.

Orignal UDN:
https://udn.unrealengine.com/questions/307534/reproducible-crash-loading-sub-level.html#answer-307602

Crashreporter from my repro attempt:
[Link Removed]

Steps to Reproduce

Create a level TestLevel.umap
Add a new sub map to TestLevel, TestReference.umap
Create a new blueprint called BP_TestSpawn (actor base)
Create a new blueprint called BP_TestCharacter (character base)
Open BP_TestSpawn in blueprint
Add a new component, ChildActor
Set the class in ChildActor = BP_TestCharacter
Save (Makes it easier for repro if you save here)
Add an instance of BP_TestSpawn to TestReference.umap
Save again!
Open TestLevel.umap
Open TestReference.umap
Crash

Callstack

UE4Editor_Engine!FSceneComponentInstanceData::ApplyToComponent() scenecomponent.cpp:1933
UE4Editor_Engine!FPrimitiveComponentInstanceData::ApplyToComponent() primitivecomponent.cpp:434
UE4Editor_Engine!FComponentInstanceDataCache::ApplyToActor() componentinstancedatacache.cpp:261
UE4Editor_Engine!AActor::ExecuteConstruction() actorconstruction.cpp:521
UE4Editor_Engine!AActor::FinishSpawning() actor.cpp:2746
UE4Editor_Engine!UChildActorComponent::CreateChildActor() childactorcomponent.cpp:361
UE4Editor_Engine!UActorComponent::ExecuteRegisterEvents() actorcomponent.cpp:1094
UE4Editor_Engine!UActorComponent::RegisterComponentWithWorld() actorcomponent.cpp:863
UE4Editor_Engine!AActor::IncrementalRegisterComponents() actor.cpp:3969
UE4Editor_Engine!ULevel::IncrementalUpdateComponents() level.cpp:933
UE4Editor_Engine!UWorld::UpdateWorldComponents() world.cpp:1367
UE4Editor_UnrealEd!UEditorEngine::Map_Load() editorserver.cpp:2488
UE4Editor_UnrealEd!UEditorEngine::HandleMapCommand() editorserver.cpp:5987
UE4Editor_UnrealEd!UEditorEngine::Exec() editorserver.cpp:5477
UE4Editor_UnrealEd!UUnrealEdEngine::Exec() unrealedsrv.cpp:744

Have Comments or More Details?

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

2
Login to Vote

Cannot Reproduce
ComponentUE - Gameplay
Affects Versions4.12.5
Target Fix4.13
CreatedAug 16, 2016
ResolvedAug 17, 2016
UpdatedApr 27, 2018