Description

After creating the example generator that is displayed at the bottom of the documentation linked below, a crash will occur if the Generated Item Type is set to EnvQueryItemType_Actor (which is the default) instead of EnvQueryItemType_Point.

The crash occurs either when you attempt to alter values in the EQS itself (not the generator blueprint), or when you move the EQS Testing Pawn.

This same crash also produces 4 different callstacks, each with different Source Context.

For the Source Context, see the Crash Reporter links below:

[Link Removed]
[Link Removed]
[Link Removed]
[Link Removed]

Documentation: https://docs.unrealengine.com/latest/INT/Engine/AI/EnvironmentQuerySystem/UserGuide/index.html

Steps to Reproduce

1. Open the editor
2. Create a blueprint based on EnvQueryGenerator_BlueprintBase
3. Recreate the blueprint shown in the attached image
4. Create a new EQS query
5. Run the new generator that you created in the EQS
6. Set the Number of Spokes to 360, the Radius to 500 and the Offset from Wall to 10.
7. Place an EQS Testing Pawn in the level, and set it to run the EQS you created in step 4.

Result: Crash occurs, either when changing values in the EQS, or when moving the EQS Testing Pawn.

Expected: No crash would occur.

Callstack

This same repro resulted in multiple callstacks, which appeared in no particular order when attempting to reproduce the crash

UE4Editor_Core!SharedPointerInternals::TReferenceControllerWithDeleter<TGeneratedTextData<FTextHistory_Base>,SharedPointerInternals::DefaultDeleter<TGeneratedTextData<FTextHistory_Base> > >::DestroyObject() sharedpointerinternals.h:104 
UE4Editor_Core!TArray<FFormatArgumentValue,FDefaultAllocator>::~TArray<FFormatArgumentValue,FDefaultAllocator>() array.h:684 
UE4Editor_Core!FTextHistory_OrderedFormat::~FTextHistory_OrderedFormat() 
UE4Editor_Core!TTextData<FTextHistory_OrderedFormat>::~TTextData<FTextHistory_OrderedFormat>() textdata.h:35 
UE4Editor_Core!TGeneratedTextData<FTextHistory_OrderedFormat>::`scalar deleting destructor'() 
UE4Editor_Core!SharedPointerInternals::FSharedReferencer<1>::operator=() sharedpointerinternals.h:436 
UE4Editor_Core!FTextSnapshot::operator=() 
UE4Editor_Slate!FTextBlockLayout::ComputeDesiredSize() textblocklayout.cpp:67 
UE4Editor_Slate!STextBlock::ComputeDesiredSize() stextblock.cpp:212 
UE4Editor_SlateCore!SWidget::CacheDesiredSize() swidget.cpp:397 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_Slate!PrepassWindowAndChildren() slateapplication.cpp:1083 
UE4Editor_Slate!FSlateApplication::DrawPrepass() slateapplication.cpp:1131 
UE4Editor_Slate!FSlateApplication::PrivateDrawWindows() slateapplication.cpp:1173 
UE4Editor_Slate!FSlateApplication::DrawWindows() slateapplication.cpp:945 
UE4Editor_Slate!FSlateApplication::TickApplication() slateapplication.cpp:1529 
UE4Editor_Slate!FSlateApplication::Tick() slateapplication.cpp:1321 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2662 
UE4Editor!GuardedMain() launch.cpp:142 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 
UE4Editor!WinMain() launchwindows.cpp:200 
UE4Editor!__scrt_common_main_seh() exe_common.inl:264 
kernel32!<Unknown> 
ntdll!<Unknown> 
UE4Editor_SlateCore!TAttribute<FMargin>::Get() attribute.h:128 
UE4Editor_SlateCore!ArrangeSingleChild<FSimpleSlot>() layoututils.h:110 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:24 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::SearchForWidgetRecursively<FWidgetMatcher>() widgetpath.inl:32 
UE4Editor_SlateCore!FWidgetPath::GeneratePathToWidget<FWidgetMatcher>() widgetpath.h:118 
UE4Editor_SlateCore!FWidgetPath::ExtendPathTo<FWidgetMatcher>() widgetpath.h:90 
UE4Editor_SlateCore!FSlateWindowHelper::FindPathToWidget() slatewindowhelper.cpp:111 
UE4Editor_SlateCore!FSlateWindowHelper::FindPathToWidget() slatewindowhelper.cpp:120 
UE4Editor_Slate!FSlateApplication::FindWidgetWindow() slateapplication.cpp:2614 
UE4Editor_Slate!FSlateApplication::FindWidgetWindow() slateapplication.cpp:2606 
UE4Editor_Slate!SEditableText::FTextInputMethodContext::GetWindow() seditabletext.cpp:456 
UE4Editor_Core!FWindowsTextInputMethodSystem::ActivateContext() windowstextinputmethodsystem.cpp:718 
UE4Editor_Slate!SEditableText::OnFocusReceived() seditabletext.cpp:1434 
UE4Editor_Slate!FSlateApplication::SetUserFocus() slateapplication.cpp:2489 
UE4Editor_Slate!FSlateApplication::SetUserFocus() slateapplication.cpp:2251 
UE4Editor_Slate!FSlateApplication::ProcessReply() slateapplication.cpp:2773 
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_e85cd558f9d1ac60b985d8633a9ca6be> >() slateapplication.cpp:215 
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:4483 
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:4900 
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:4876 
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1430 
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:1735 
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:719 
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:641 
user32!<Unknown> 
user32!<Unknown> 
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:884 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2594 
UE4Editor!GuardedMain() launch.cpp:142 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 
UE4Editor!WinMain() launchwindows.cpp:200 
UE4Editor!__scrt_common_main_seh() exe_common.inl:264 
kernel32!<Unknown> 
ntdll!<Unknown> 
UE4Editor_Core!FTextSnapshot::IsDisplayStringEqualTo() text.cpp:1389 
UE4Editor_Slate!FTextBlockLayout::ComputeDesiredSize() textblocklayout.cpp:60 
UE4Editor_Slate!STextBlock::ComputeDesiredSize() stextblock.cpp:212 
UE4Editor_SlateCore!SWidget::CacheDesiredSize() swidget.cpp:397 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_Slate!PrepassWindowAndChildren() slateapplication.cpp:1083 
UE4Editor_Slate!PrepassWindowAndChildren() slateapplication.cpp:1092 
UE4Editor_Slate!FSlateApplication::DrawPrepass() slateapplication.cpp:1131 
UE4Editor_Slate!FSlateApplication::PrivateDrawWindows() slateapplication.cpp:1173 
UE4Editor_Slate!FSlateApplication::DrawWindows() slateapplication.cpp:945 
UE4Editor_Slate!FSlateApplication::TickApplication() slateapplication.cpp:1529 
UE4Editor_Slate!FSlateApplication::Tick() slateapplication.cpp:1321 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2662 
UE4Editor!GuardedMain() launch.cpp:142 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 
UE4Editor!WinMain() launchwindows.cpp:200 
UE4Editor!__scrt_common_main_seh() exe_common.inl:264 
kernel32!<Unknown> 
ntdll!<Unknown> 
UE4Editor_Slate!FTextLayout::CreateLineWrappingCache() textlayout.cpp:757 
UE4Editor_Slate!FTextLayout::FlowLayout() textlayout.cpp:459 
UE4Editor_Slate!FTextLayout::UpdateLayout() textlayout.cpp:825 
UE4Editor_Slate!FTextLayout::UpdateIfNeeded() textlayout.cpp:815 
UE4Editor_Slate!FTextBlockLayout::ComputeDesiredSize() textblocklayout.cpp:94 
UE4Editor_Slate!STextBlock::ComputeDesiredSize() stextblock.cpp:212 
UE4Editor_SlateCore!SWidget::CacheDesiredSize() swidget.cpp:397 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:385 
UE4Editor_Slate!PrepassWindowAndChildren() slateapplication.cpp:1083 
UE4Editor_Slate!FSlateApplication::DrawPrepass() slateapplication.cpp:1131 
UE4Editor_Slate!FSlateApplication::PrivateDrawWindows() slateapplication.cpp:1173 
UE4Editor_Slate!FSlateApplication::DrawWindows() slateapplication.cpp:945 
UE4Editor_Slate!FSlateApplication::TickApplication() slateapplication.cpp:1529 
UE4Editor_Slate!FSlateApplication::Tick() slateapplication.cpp:1321 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2662 
UE4Editor!GuardedMain() launch.cpp:142 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 
UE4Editor!WinMain() launchwindows.cpp:200 
UE4Editor!__scrt_common_main_seh() exe_common.inl:264 
kernel32!<Unknown> 
ntdll!<Unknown> 

Have Comments or More Details?

Head over to the existing AnswerHub thread and let us know what's up.

0
Login to Vote

Fixed
ComponentGameplay - AI
Affects Versions4.9.24.104.12
Target Fix4.11
Fix Commit2875922
Main Commit2905127
Release Commit2875922
CreatedJan 7, 2016
ResolvedFeb 22, 2016
UpdatedMay 2, 2018