Description

When a GameplayTagQuery variable is edited from inside of a DataAsset, the editor crashes when the changes are saved. This could be related to a bug that was fixed previously: [Link Removed]

Regression?: Yes
This issue does not occur in 4.16.3-3561208+++UE4+Release-4.16
This issue does occur in 4.17.2-3658906+++UE4+Release-4.17

Steps to Reproduce
  1. Download, compile, and open the attached project
  2. Open "NewDataAsset" from the Content Browser
  3. Click "Edit" beside "Query Test"
  4. Choose "All Expressions Match" from the dropdown beside Root Expression and expand Root Expression
  5. Click the + to add an Array element
  6. Choose "All Tags Match" from the dropdown and expand the Array element
  7. Click the dropdown and check any of the tags
  8. Click "Save and Close" at the top left of the window
    Result: The editor crashes
    Expected: The changes are saved successfully
Callstack
Fatal error!

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000

0x0000000092059A48 UE4Editor-GameplayTagsEditor.dll!FGameplayTagQueryCustomization::CloseWidgetWindow() [d:\build\++ue4+release-4.18+compile\sync\engine\plugins\editor\gameplaytagseditor\source\gameplaytagseditor\private\gameplaytagquerycustomization.cpp:251]
0x0000000092077D85 UE4Editor-GameplayTagsEditor.dll!TBaseSPMethodDelegateInstance<0,FGameplayTagQueryCustomization,0,TTypeWrapper<void> __cdecl(void),bool>::Execute() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
0x000000009207AA46 UE4Editor-GameplayTagsEditor.dll!TBaseSPMethodDelegateInstance<0,FGameplayTagQueryCustomization,0,void __cdecl(void),bool>::ExecuteIfSafe() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:434]
0x00000000920AE409 UE4Editor-GameplayTagsEditor.dll!SGameplayTagQueryWidget::OnSaveAndCloseClicked() [d:\build\++ue4+release-4.18+compile\sync\engine\plugins\editor\gameplaytagseditor\source\gameplaytagseditor\private\sgameplaytagquerywidget.cpp:157]
0x0000000092003582 UE4Editor-GameplayTagsEditor.dll!TMemberFunctionCaller<SGameplayTagQueryWidget,FReply (__cdecl SGameplayTagQueryWidget::*)(void) __ptr64>::operator()<>() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\delegates\delegateinstanceinterface.h:165]
0x0000000092004FF9 UE4Editor-GameplayTagsEditor.dll!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SGameplayTagQueryWidget,FReply (__cdecl SGameplayTagQueryWidget::*)(void) __ptr64> >() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\templates\tuple.h:497]
0x0000000092078815 UE4Editor-GameplayTagsEditor.dll!TBaseSPMethodDelegateInstance<0,SGameplayTagQueryWidget,0,FReply __cdecl(void)>::Execute() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
0x00000000C5D02B27 UE4Editor-Slate.dll!TBaseDelegate<FReply>::Execute() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:537]
0x00000000C5D2EA04 UE4Editor-Slate.dll!SButton::OnMouseButtonUp() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:282]
0x00000000C5B45EFC UE4Editor-Slate.dll!<lambda_1002768c627006711ef2f351a87ec0e7>::operator()() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5263]
0x00000000C5B18095 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]
0x00000000C5BB28A7 UE4Editor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5252]
0x00000000C5B9B092 UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5750]
0x00000000C5B8D902 UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5730]
0x00000000C7D7E54B UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1725]
0x00000000C7D71A48 UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2171]
0x00000000C7D803EC UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:888]
0x00000000C7D6D5A9 UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:725]
0x0000000077519BBD USER32.dll!UnknownFunction []
0x00000000775198C2 USER32.dll!UnknownFunction []
0x00000000C7D81516 UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:129]
0x000000003FC950C8 UE4Editor.exe!FEngineLoop::Tick() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3220]
0x000000003FCA5430 UE4Editor.exe!GuardedMain() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\launch.cpp:166]
0x000000003FCA54AA UE4Editor.exe!GuardedMainWrapper() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
0x000000003FCB2379 UE4Editor.exe!WinMain() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
0x000000003FCB3D57 UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
0x00000000776159CD kernel32.dll!UnknownFunction []
0x000000007774A561 ntdll.dll!UnknownFunction []
0x000000007774A561 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-51689 in the post.

0
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions4.174.184.19
Target Fix4.19
Fix Commit3724004
Release Commit3724004
CreatedOct 27, 2017
ResolvedOct 27, 2017
UpdatedApr 27, 2018
Pull Requests
4447 - klorberg
View Jira Issue