Description

A crash is occurring when running a custom EQS generator that returns a Point and uses the Add Generated Vector node.

This is a regression. No crash occurs with the same setup in 4.12.5.

Steps to Reproduce
  1. Open the attached project
  2. Select the EQS Testing Pawn in the level
  3. Set the Query Template to EQS

Result: Editor crashes

Callstack

Assertion failed: GetDefault<TypeItem>()->GetValueSize() == sizeof(TypeValue) [File[Image Removed]:\UnrealEngine-release\UnrealEngine-release\Engine\Source\Runtime\AIModule\Classes\EnvironmentQuery/EnvQueryTypes

UE4Editor_Core!FDebug::AssertFailed() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\core\private\misc\outputdevice.cpp:421]
UE4Editor_AIModule!FEnvQueryInstance::AddItemData<UEnvQueryItemType_Point,FVector>() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\aimodule\classes\environmentquery\envquerytypes.h:860]
UE4Editor_AIModule!UEnvQueryGenerator_BlueprintBase::AddGeneratedVector() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\aimodule\private\environmentquery\generators\envquerygenerator_blueprintbase.cpp:54]
UE4Editor_AIModule!UEnvQueryGenerator_BlueprintBase::execAddGeneratedVector() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\aimodule\classes\environmentquery\generators\envquerygenerator_blueprintbase.h:15]
UE4Editor_CoreUObject!UFunction::Invoke() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:4280]
UE4Editor_CoreUObject!UObject::CallFunction() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:697]
UE4Editor_CoreUObject!UObject::ProcessInternal() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:922]
UE4Editor_CoreUObject!UFunction::Invoke() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\coreuobject\private\uobject\class.cpp:4280]
UE4Editor_CoreUObject!UObject::ProcessEvent() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1305]
UE4Editor_AIModule!UEnvQueryGenerator_BlueprintBase::DoItemGeneration() [d:\unrealengine-release\unrealengine-release\engine\intermediate\build\win64\ue4editor\inc\aimodule\aimodule.generated.cpp:2343]
UE4Editor_AIModule!UEnvQueryGenerator_BlueprintBase::GenerateItems() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\aimodule\private\environmentquery\generators\envquerygenerator_blueprintbase.cpp:39]
UE4Editor_AIModule!FEnvQueryInstance::ExecuteOneStep() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\aimodule\private\environmentquery\envqueryinstance.cpp:226]
UE4Editor_AIModule!AEQSTestingPawn::MakeOneStep() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\aimodule\private\environmentquery\eqstestingpawn.cpp:229]
UE4Editor_AIModule!AEQSTestingPawn::RunEQSQuery() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\aimodule\private\environmentquery\eqstestingpawn.cpp:182]
UE4Editor_AIModule!AEQSTestingPawn::PostEditChangeProperty() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\aimodule\private\environmentquery\eqstestingpawn.cpp:323]
UE4Editor_CoreUObject!UObject::PostEditChangeChainProperty() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\coreuobject\private\uobject\obj.cpp:388]
UE4Editor_PropertyEditor!FPropertyNode::NotifyPostChange() [d:\unrealengine-release\unrealengine-release\engine\source\editor\propertyeditor\private\propertynode.cpp:2008]
UE4Editor_PropertyEditor!FPropertyValueImpl::ImportText() [d:\unrealengine-release\unrealengine-release\engine\source\editor\propertyeditor\private\propertyhandleimpl.cpp:464]
UE4Editor_PropertyEditor!FPropertyValueImpl::ImportText() [d:\unrealengine-release\unrealengine-release\engine\source\editor\propertyeditor\private\propertyhandleimpl.cpp:315]
UE4Editor_PropertyEditor!FPropertyValueImpl::SendTextToObjectProperty() [d:\unrealengine-release\unrealengine-release\engine\source\editor\propertyeditor\private\propertyhandleimpl.cpp:271]
UE4Editor_PropertyEditor!FPropertyHandleObject::SetValue() [d:\unrealengine-release\unrealengine-release\engine\source\editor\propertyeditor\private\propertyhandleimpl.cpp:2693]
UE4Editor_PropertyEditor!SPropertyEditorAsset::SetValue() [d:\unrealengine-release\unrealengine-release\engine\source\editor\propertyeditor\private\userinterface\propertyeditor\spropertyeditorasset.cpp:558]
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyEditorAsset,0,TTypeWrapper<void> __cdecl(FAssetData const & __ptr64)>::Execute() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:317]
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyEditorAsset,0,void __cdecl(FAssetData const & __ptr64)>::ExecuteIfSafe() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:424]
UE4Editor_PropertyEditor!SPropertyMenuAssetPicker::OnAssetSelected() [d:\unrealengine-release\unrealengine-release\engine\source\editor\propertyeditor\private\userinterface\propertyeditor\spropertymenuassetpicker.cpp:232]
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyMenuAssetPicker,0,TTypeWrapper<void> __cdecl(FAssetData const & __ptr64)>::Execute() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:317]
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyMenuAssetPicker,0,void __cdecl(FAssetData const & __ptr64)>::ExecuteIfSafe() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:424]
UE4Editor_ContentBrowser!SAssetView::AssetSelectionChanged() [d:\unrealengine-release\unrealengine-release\engine\source\editor\contentbrowser\private\sassetview.cpp:3420]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,TTypeWrapper<void> __cdecl(TSharedPtr<FAssetViewItem,0>,enum ESelectInfo::Type)>::Execute() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:317]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,void __cdecl(TSharedPtr<FAssetViewItem,0>,enum ESelectInfo::Type)>::ExecuteIfSafe() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:424]
UE4Editor_ContentBrowser!TBaseDelegate<void,TSharedPtr<FAssetViewItem,0>,enum ESelectInfo::Type>::ExecuteIfBound() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:608]
UE4Editor_ContentBrowser!SListView<TSharedPtr<FAssetViewItem,0> >::Private_SignalSelectionChanged() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\slate\public\widgets\views\slistview.h:638]
UE4Editor_ContentBrowser!STableRow<TSharedPtr<FAssetViewItem,0> >::OnMouseButtonUp() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\slate\public\widgets\views\stablerow.h:449]
UE4Editor_Slate!<lambda_2ba86970cc12b39cc598727b6025bd91>::operator()() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4901]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_2ba86970cc12b39cc598727b6025bd91> >() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:215]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4890]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5348]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5328]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\core\private\windows\windowsapplication.cpp:1584]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\core\private\windows\windowsapplication.cpp:1930]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\core\private\windows\windowsapplication.cpp:747]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\core\private\windows\windowsapplication.cpp:669]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:905]
UE4Editor!FEngineLoop::Tick() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\launch\private\launchengineloop.cpp:2788]
UE4Editor!GuardedMain() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\launch\private\launch.cpp:156]
UE4Editor!GuardedMainWrapper() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\unrealengine-release\unrealengine-release\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32
ntdll

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - AI
Affects Versions4.13
Target Fix4.13.1
Fix Commit3118870
CreatedSep 8, 2016
ResolvedSep 9, 2016
UpdatedMay 2, 2018
View Jira Issue