Description

Ensure occurs when the user creates a cycle with a blueprint containing itself as a child actor component.

Steps to Reproduce
  1. Open QAGame in editor.
  2. Create a new actor blueprint and open it.
  3. Add a Child Actor Component to the blueprint.
  4. Set the Child Actor Class to the blueprint.

RESULT

Ensure.

Callstack
Ensure condition failed: !GIsDuplicatingClassForReinstancing || InClass->HasAnyClassFlags(CLASS_Native) [File:D:\Framework\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 2250]
Stack: 
UE4Editor-Core.dll!FWindowsPlatformStackWalk::StackWalkAndDump() [d:\framework\engine\source\runtime\core\private\windows\windowsplatformstackwalk.cpp:200]
UE4Editor-Core.dll!FDebug::EnsureFailed() [d:\framework\engine\source\runtime\core\private\misc\assertionmacros.cpp:233]
UE4Editor-Core.dll!FDebug::OptionallyLogFormattedEnsureMessageReturningFalse() [d:\framework\engine\source\runtime\core\private\misc\assertionmacros.cpp:360]
UE4Editor-CoreUObject.dll!StaticAllocateObject() [d:\framework\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2250]
UE4Editor-CoreUObject.dll!UClass::CreateDefaultObject() [d:\framework\engine\source\runtime\coreuobject\private\uobject\class.cpp:2724]
UE4Editor-CoreUObject.dll!UObject::GetArchetypeFromRequiredInfo() [d:\framework\engine\source\runtime\coreuobject\private\uobject\uobjectarchetype.cpp:78]
UE4Editor-CoreUObject.dll!FDuplicateDataWriter::GetDuplicatedObject() [d:\framework\engine\source\runtime\coreuobject\private\serialization\duplicatedatawriter.cpp:138]
UE4Editor-CoreUObject.dll!FDuplicateDataWriter::operator<<() [d:\framework\engine\source\runtime\coreuobject\private\serialization\duplicatedatawriter.cpp:65]
UE4Editor-Engine.dll!UChildActorComponent::Serialize() [d:\framework\engine\source\runtime\engine\private\components\childactorcomponent.cpp:91]
UE4Editor-CoreUObject.dll!StaticDuplicateObjectEx() [d:\framework\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2017]
UE4Editor-CoreUObject.dll!StaticDuplicateObject() [d:\framework\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1923]
UE4Editor-UnrealEd.dll!FBlueprintCompileReinstancer::MoveCDOToNewClass() [d:\framework\engine\source\editor\unrealed\private\kismet2\kismetreinstanceutilities.cpp:1488]
UE4Editor-UnrealEd.dll!FBlueprintCompileReinstancer::FBlueprintCompileReinstancer() [d:\framework\engine\source\editor\unrealed\private\kismet2\kismetreinstanceutilities.cpp:250]
UE4Editor-Kismet.dll!FBlueprintCompilationManagerImpl::FlushCompilationQueueImpl() [d:\framework\engine\source\editor\kismet\private\blueprintcompilationmanager.cpp:648]
UE4Editor-Kismet.dll!FBlueprintCompilationManagerImpl::CompileSynchronouslyImpl() [d:\framework\engine\source\editor\kismet\private\blueprintcompilationmanager.cpp:189]
UE4Editor-UnrealEd.dll!FKismetEditorUtilities::CompileBlueprint() [d:\framework\engine\source\editor\unrealed\private\kismet2\kismet2.cpp:745]
UE4Editor-Kismet.dll!FBlueprintEditor::Compile() [d:\framework\engine\source\editor\kismet\private\blueprinteditor.cpp:3173]
UE4Editor-Kismet.dll!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,TTypeWrapper<void> __cdecl(void)>::Execute() [d:\framework\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
UE4Editor-Kismet.dll!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl(void)>::ExecuteIfSafe() [d:\framework\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:434]
UE4Editor-Slate.dll!FUICommandList::ExecuteAction() [d:\framework\engine\source\runtime\slate\private\framework\commands\uicommandlist.cpp:97]
UE4Editor-Slate.dll!SToolBarButtonBlock::OnClicked() [d:\framework\engine\source\runtime\slate\private\framework\multibox\stoolbarbuttonblock.cpp:305]
UE4Editor-Slate.dll!TMemberFunctionCaller<SToolBarButtonBlock,FReply (__cdecl SToolBarButtonBlock::*)(void) __ptr64>::operator()<>() [d:\framework\engine\source\runtime\core\public\delegates\delegateinstanceinterface.h:165]
UE4Editor-Slate.dll!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SToolBarButtonBlock,FReply (__cdecl SToolBarButtonBlock::*)(void) __ptr64> >() [d:\framework\engine\source\runtime\core\public\templates\tuple.h:497]
UE4Editor-Slate.dll!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,FReply __cdecl(void)>::Execute() [d:\framework\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
UE4Editor-Slate.dll!TBaseDelegate<FReply>::Execute() [d:\framework\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:537]
UE4Editor-Slate.dll!SButton::OnMouseButtonUp() [d:\framework\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:282]
UE4Editor-Slate.dll!<lambda_1002768c627006711ef2f351a87ec0e7>::operator()() [d:\framework\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5232]
UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [d:\framework\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:234]
UE4Editor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [d:\framework\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5221]
UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [d:\framework\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5723]
UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() [d:\framework\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5703]
UE4Editor-Core.dll!FWindowsApplication::ProcessDeferredMessage() [d:\framework\engine\source\runtime\core\private\windows\windowsapplication.cpp:1718]
UE4Editor-Core.dll!FWindowsApplication::DeferMessage() [d:\framework\engine\source\runtime\core\private\windows\windowsapplication.cpp:2161]
UE4Editor-Core.dll!FWindowsApplication::ProcessMessage() [d:\framework\engine\source\runtime\core\private\windows\windowsapplication.cpp:881]
UE4Editor-Core.dll!FWindowsApplication::AppWndProc() [d:\framework\engine\source\runtime\core\private\windows\windowsapplication.cpp:721]
USER32.dll!0x0000000077779BBD
USER32.dll!0x00000000777798C2
UE4Editor-Core.dll!FWindowsPlatformApplicationMisc::PumpMessages() [d:\framework\engine\source\runtime\core\private\windows\windowsplatformapplicationmisc.cpp:61]
UE4Editor.exe!FEngineLoop::Tick() [d:\framework\engine\source\runtime\launch\private\launchengineloop.cpp:3153]
UE4Editor.exe!GuardedMain() [d:\framework\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor.exe!GuardedMainWrapper() [d:\framework\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor.exe!WinMain() [d:\framework\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
kernel32.dll!0x00000000778759CD
ntdll.dll!0x00000000779AA561

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint Compiler
Affects Versions4.174.18
Target Fix4.17.2
Fix Commit3597636
CreatedAug 16, 2017
ResolvedAug 18, 2017
UpdatedApr 27, 2018