Description

Child Actor Component outputs error when child class is set to empty using blutility
I attached repro proj.

Steps to Reproduce
  1. Creates an event that sets the child class of ChildActorComponent to empty
  2. Enable call in editor of the event
  3. Use the event button added to the detail panel
  4. An error will be displayed in the output log
Callstack
LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: ChildActorTemplate == nullptr [File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\Engine\Private\Components\ChildActorComponent.cpp] [Line: 95]
LogOutputDevice: Error: Found unexpected ChildActorTemplate BP_MeshActor01_C /Game/BP_MyActor.Default__BP_MyActor_C:Comp01.Comp01_BP_MeshActor01_C_CAT when ChildActorClass is null
LogOutputDevice: Error: Stack: 
LogOutputDevice: Error: [Callstack] 0x00000000C0C32786 UE4Editor-Core.dll!FWindowsPlatformStackWalk::StackWalkAndDump() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\windows\windowsplatformstackwalk.cpp:200]
LogOutputDevice: Error: [Callstack] 0x00000000C09D123A UE4Editor-Core.dll!FDebug::EnsureFailed() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:298]
LogOutputDevice: Error: [Callstack] 0x00000000C09EB906 UE4Editor-Core.dll!FDebug::OptionallyLogFormattedEnsureMessageReturningFalse() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:425]
LogOutputDevice: Error: [Callstack] 0x00000000A5A75451 UE4Editor-Engine.dll!UChildActorComponent::Serialize() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\engine\private\components\childactorcomponent.cpp:95]
LogOutputDevice: Error: [Callstack] 0x00000000AD5CF26A UE4Editor-UnrealEd.dll!FTransaction::FObjectRecord::SerializeContents() [d:\build\++ue4+release-4.18+compile\sync\engine\source\editor\unrealed\private\editortransaction.cpp:150]
LogOutputDevice: Error: [Callstack] 0x00000000AD5819E3 UE4Editor-UnrealEd.dll!FTransaction::FObjectRecord::FObjectRecord() [d:\build\++ue4+release-4.18+compile\sync\engine\source\editor\unrealed\private\editortransaction.cpp:80]
LogOutputDevice: Error: [Callstack] 0x00000000AD5CBDEC UE4Editor-UnrealEd.dll!FTransaction::SaveObject() [d:\build\++ue4+release-4.18+compile\sync\engine\source\editor\unrealed\private\editortransaction.cpp:392]
LogOutputDevice: Error: [Callstack] 0x00000000B9ACBC12 UE4Editor-CoreUObject.dll!SaveToTransactionBuffer() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2161]
LogOutputDevice: Error: [Callstack] 0x00000000B9A01112 UE4Editor-CoreUObject.dll!UObject::Modify() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\obj.cpp:1106]
LogOutputDevice: Error: [Callstack] 0x00000000A5AA9C6B UE4Editor-Engine.dll!USceneComponent::DetachFromComponent() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\engine\private\components\scenecomponent.cpp:2009]
LogOutputDevice: Error: [Callstack] 0x00000000A5E28A62 UE4Editor-Engine.dll!UWorld::DestroyActor() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\engine\private\levelactor.cpp:620]
LogOutputDevice: Error: [Callstack] 0x00000000A5A406DB UE4Editor-Engine.dll!UChildActorComponent::DestroyChildActor() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\engine\private\components\childactorcomponent.cpp:652]
LogOutputDevice: Error: [Callstack] 0x00000000A5A767CD UE4Editor-Engine.dll!UChildActorComponent::SetChildActorClass() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\engine\private\components\childactorcomponent.cpp:454]
LogOutputDevice: Error: [Callstack] 0x00000000A5509BC2 UE4Editor-Engine.dll!UChildActorComponent::execSetChildActorClass() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\engine\classes\components\childactorcomponent.h:46]
LogOutputDevice: Error: [Callstack] 0x00000000B9875264 UE4Editor-CoreUObject.dll!UFunction::Invoke() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:4515]
LogOutputDevice: Error: [Callstack] 0x00000000B9A39B04 UE4Editor-CoreUObject.dll!UObject::CallFunction() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:732]
LogOutputDevice: Error: [Callstack] 0x00000000B9A4F9D1 UE4Editor-CoreUObject.dll!UObject::ProcessContextOpcode() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:2167]
LogOutputDevice: Error: [Callstack] 0x00000000B9A51B02 UE4Editor-CoreUObject.dll!UObject::ProcessInternal() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:954]
LogOutputDevice: Error: [Callstack] 0x00000000B9A3A50E UE4Editor-CoreUObject.dll!UObject::CallFunction() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:856]
LogOutputDevice: Error: [Callstack] 0x00000000B9A51B02 UE4Editor-CoreUObject.dll!UObject::ProcessInternal() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:954]
LogOutputDevice: Error: [Callstack] 0x00000000B9875264 UE4Editor-CoreUObject.dll!UFunction::Invoke() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:4515]
LogOutputDevice: Error: [Callstack] 0x00000000B9A50EF6 UE4Editor-CoreUObject.dll!UObject::ProcessEvent() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1314]
LogOutputDevice: Error: [Callstack] 0x00000000A55BE64B UE4Editor-Engine.dll!AActor::ProcessEvent() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\engine\private\actor.cpp:693]
LogOutputDevice: Error: [Callstack] 0x00000000A854FDEC UE4Editor-DetailCustomizations.dll!FObjectDetails::OnExecuteCallInEditorFunction() [d:\build\++ue4+release-4.18+compile\sync\engine\source\editor\detailcustomizations\private\objectdetails.cpp:196]
LogOutputDevice: Error: [Callstack] 0x00000000A843E5E6 UE4Editor-DetailCustomizations.dll!TMemberFunctionCaller<FObjectDetails,FReply (__cdecl FObjectDetails::*)(TWeakObjectPtr<UFunction,FWeakObjectPtr>) __ptr64>::operator()<TWeakObjectPtr<UFunction,FWeakObjectPtr> const & __ptr64>() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public
\delegates\delegateinstanceinterface.h:165]
LogOutputDevice: Error: [Callstack] 0x00000000A843F5CF UE4Editor-DetailCustomizations.dll!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int,0>,TWeakObjectPtr<UFunction,FWeakObjectPtr> >::ApplyAfter<TMemberFunctionCaller<FObjectDetails,FReply (__cdecl FObjectDetails::*)(TWeakObjectPtr<UFunction,FWeakObjectPtr>) __ptr64> >() [d:\build\++ue4+release-4.
18+compile\sync\engine\source\runtime\core\public\templates\tuple.h:422]
LogOutputDevice: Error: [Callstack] 0x00000000A8500D35 UE4Editor-DetailCustomizations.dll!TBaseSPMethodDelegateInstance<0,FObjectDetails,0,FReply __cdecl(void),TWeakObjectPtr<UFunction,FWeakObjectPtr> >::Execute() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
LogOutputDevice: Error: [Callstack] 0x00000000B9402B27 UE4Editor-Slate.dll!TBaseDelegate<FReply>::Execute() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:537]
LogOutputDevice: Error: [Callstack] 0x00000000B942EA04 UE4Editor-Slate.dll!SButton::OnMouseButtonUp() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:282]
LogOutputDevice: Error: [Callstack] 0x00000000B9245EFC UE4Editor-Slate.dll!<lambda_1002768c627006711ef2f351a87ec0e7>::operator()() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5263]
LogOutputDevice: Error: [Callstack] 0x00000000B9218095 UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:234]
LogOutputDevice: Error: [Callstack] 0x00000000B92B28A7 UE4Editor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5252]
LogOutputDevice: Error: [Callstack] 0x00000000B929B092 UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5750]
LogOutputDevice: Error: [Callstack] 0x00000000B928D902 UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5730]
LogOutputDevice: Error: [Callstack] 0x00000000CBAAE54B UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1725]
LogOutputDevice: Error: [Callstack] 0x00000000CBAA1A48 UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2171]
LogOutputDevice: Error: [Callstack] 0x00000000CBAB03EC UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:888]
LogOutputDevice: Error: [Callstack] 0x00000000CBA9D5A9 UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:725]
LogOutputDevice: Error: [Callstack] 0x0000000077519BBD USER32.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00000000775198C2 USER32.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00000000CBAB1516 UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:129]
LogOutputDevice: Error: [Callstack] 0x000000003F3950C8 UE4Editor.exe!FEngineLoop::Tick() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3220]
LogOutputDevice: Error: [Callstack] 0x000000003F3A5430 UE4Editor.exe!GuardedMain() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\launch.cpp:166]
LogOutputDevice: Error: [Callstack] 0x000000003F3A54AA UE4Editor.exe!GuardedMainWrapper() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
LogOutputDevice: Error: [Callstack] 0x000000003F3B2379 UE4Editor.exe!WinMain() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
LogOutputDevice: Error: [Callstack] 0x000000003F3B3D57 UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
LogOutputDevice: Error: [Callstack] 0x00000000773F59CD kernel32.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x000000007762A561 ntdll.dll!UnknownFunction []

Have Comments or More Details?

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

14
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.18.1
Target Fix4.23
Fix Commit5646675
Main Commit6835252
CreatedNov 30, 2017
ResolvedApr 1, 2019
UpdatedJun 4, 2019
View Jira Issue