Description

Attempting to load a nativized blueprint whose parent contains an instanced subcomponent causes the editor to crash in a packaged build.

Regression?: Yes
This did not occur in 4.18

Steps to Reproduce
  1. Download the attached project, generate project files, compile, and open it
  2. Package the project for Windows 64bit
  3. Launch the packaged game
    Result:
    In 4.19: Crashes immediately with the callstack below
    In 4.20: Freezes on a black screen, closes silently after a short while. Crash can be found in logs.
    In Main (4.21): Freezes on black screen, crashes after a short while.
    Expected: Map loads and opens successfully.
Callstack
Assertion failed: !IsTemplate() [File:D:\matthew.clark_Main_Stream\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp] [Line: 711] 'YukiComponent /Game/Untitled.Untitled:PersistentLevel.NewBlueprint_142.Yuki' (No_Detailed_Info_Specified)

MyProject3!FDebug::AssertFailed() [d:\matthew.clark_main_stream\engine\source\runtime\core\private\misc\assertionmacros.cpp:425]
MyProject3!UActorComponent::OnRegister() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\components\actorcomponent.cpp:711]
MyProject3!UPrimitiveComponent::OnRegister() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\components\primitivecomponent.cpp:555]
MyProject3!UActorComponent::ExecuteRegisterEvents() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\components\actorcomponent.cpp:1244]
MyProject3!UActorComponent::RegisterComponentWithWorld() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\components\actorcomponent.cpp:981]
MyProject3!AActor::IncrementalRegisterComponents() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\actor.cpp:4211]
MyProject3!ULevel::IncrementalUpdateComponents() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\level.cpp:965]
MyProject3!UWorld::UpdateWorldComponents() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\world.cpp:1666]
MyProject3!UWorld::InitializeActorsForPlay() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\world.cpp:3557]
MyProject3!UEngine::LoadMap() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\unrealengine.cpp:12158]
MyProject3!UEngine::Browse() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\unrealengine.cpp:11449]
MyProject3!UGameInstance::StartGameInstance() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\gameinstance.cpp:485]
MyProject3!FEngineLoop::Init() [d:\matthew.clark_main_stream\engine\source\runtime\launch\private\launchengineloop.cpp:2880]
MyProject3!GuardedMain() [d:\matthew.clark_main_stream\engine\source\runtime\launch\private\launch.cpp:155]
MyProject3!GuardedMainWrapper() [d:\matthew.clark_main_stream\engine\source\runtime\launch\private\windows\launchwindows.cpp:144]
MyProject3!WinMain() [d:\matthew.clark_main_stream\engine\source\runtime\launch\private\windows\launchwindows.cpp:223]
MyProject3!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
kernel32
ntdll

Have Comments or More Details?

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

2
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.194.204.21
Target Fix4.21
Fix Commit4223012
Main Commit4289353
Release Commit4399518
CreatedJun 26, 2018
ResolvedJul 19, 2018
UpdatedOct 2, 2018