Description

When changing the variable type of a variable that is used in a function for a blutility a crash can occur

Steps to Reproduce
  1. Open the editor
  2. Enable blutility (Editor preferences > General > Experimental > Tools > Editor Utility Blueprints (Blutility) )
  3. Create a new blutility from Global Editor Utility Base parent
  4. Create a new Variable (type boolean)
  5. Make it public
  6. Create a new function
  7. Set the variable that was created using he function
  8. Compile and save
  9. Close the blutility blueprint
  10. Reopen both the blueprint and the Blutility details panel (that is used to call the blueprint actions)
  11. Change the variable (that is currently a boolean) to an integer
  12. Click Change Variable Type (When the popup is given)

Result: The editor will freeze up for a few seconds before crashing
Expected: The variable type would be changed

Callstack
UE4Editor-Core!FTextCache::FindOrCache(wchar_t const *,wchar_t const *,wchar_t const *) [TextCache.cpp:43]
UE4Editor-Core!FInternationalization::ForUseOnlyByLocMacroAndGraphNodeTextLiterals_CreateText(wchar_t const *,wchar_t const *,wchar_t const *) [Internationalization.cpp:51]
UE4Editor-Blutility!FGlobalBlutilityDialog::GetBaseToolkitName() [GlobalBlutilityDialog.cpp:108]
UE4Editor-UnrealEd!FBlueprintEditorUtils::ChangeMemberVariableType(UBlueprint *,FName,FEdGraphPinType const &) [BlueprintEditorUtils.cpp:4871]
UE4Editor-Kismet!FBlueprintVarActionDetails::OnVarTypeChanged(FEdGraphPinType const &) [BlueprintDetailsCustomization.cpp:1314]
UE4Editor-Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintVarActionDetails,0,void >::ExecuteIfSafe(FEdGraphPinType const &) [DelegateInstancesImpl.h:355]
UE4Editor-KismetWidgets!SPinTypeSelector::OnSelectPinType(TSharedPtr<UEdGraphSchema_K2::FPinTypeTreeInfo,0>,FName,bool) [SPinTypeSelector.cpp:815]
UE4Editor-KismetWidgets!SPinTypeSelector::OnTypeSelectionChanged(TSharedPtr<UEdGraphSchema_K2::FPinTypeTreeInfo,0>,ESelectInfo::Type,bool) [SPinTypeSelector.cpp:846]
UE4Editor-KismetWidgets!TBaseSPMethodDelegateInstance<0,SPinTypeSelector,0,void ,bool>::ExecuteIfSafe(TSharedPtr<UEdGraphSchema_K2::FPinTypeTreeInfo,0>,ESelectInfo::Type) [DelegateInstancesImpl.h:355]
UE4Editor-KismetWidgets!SListView<TSharedPtr<UEdGraphSchema_K2::FPinTypeTreeInfo,0> >::Private_SignalSelectionChanged(ESelectInfo::Type) [SListView.h:725]
UE4Editor-KismetWidgets!STableRow<TSharedPtr<UEdGraphSchema_K2::FPinTypeTreeInfo,0> >::OnMouseButtonUp(FGeometry const &,FPointerEvent const &) [STableRow.h:453]
UE4Editor-Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >  [SlateApplication.cpp:270]
UE4Editor-Slate!FSlateApplication::RoutePointerUpEvent(FWidgetPath &,FPointerEvent &) [SlateApplication.cpp:5528]
UE4Editor-Slate!FSlateApplication::ProcessMouseButtonUpEvent(FPointerEvent &) [SlateApplication.cpp:6087]
UE4Editor-Slate!FSlateApplication::OnMouseUp(EMouseButtons::Type,FVector2D) [SlateApplication.cpp:6060]
UE4Editor-ApplicationCore!FWindowsApplication::ProcessDeferredMessage(FDeferredWindowsMessage const &) [WindowsApplication.cpp:1831]
UE4Editor-ApplicationCore!FWindowsApplication::DeferMessage(TSharedPtr<FWindowsWindow,0> &,HWND__ *,unsigned int,unsigned __int64,__int64,int,int,unsigned int) [WindowsApplication.cpp:2281]
UE4Editor-ApplicationCore!FWindowsApplication::ProcessMessage(HWND__ *,unsigned int,unsigned __int64,__int64) [WindowsApplication.cpp:929]
UE4Editor-ApplicationCore!FWindowsApplication::AppWndProc(HWND__ *,unsigned int,unsigned __int64,__int64) [WindowsApplication.cpp:766]
USER32!fd180000  + ca66
USER32!fd180000  + c582
UE4Editor-ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages(bool) [WindowsPlatformApplicationMisc.cpp:130]
UE4Editor!FEngineLoop::Tick() [LaunchEngineLoop.cpp:3615]
UE4Editor!GuardedMain(wchar_t const *,HINSTANCE__ *,HINSTANCE__ *,int) [Launch.cpp:174]
UE4Editor!GuardedMainWrapper(wchar_t const *,HINSTANCE__ *,HINSTANCE__ *,int) [LaunchWindows.cpp:145]
UE4Editor!WinMain  [LaunchWindows.cpp:276]
UE4Editor!__scrt_common_main_seh  [exe_common.inl:283]
KERNEL32!fba00000  + 17e94
ntdll!fe010000  + 6a251

Have Comments or More Details?

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

4
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.224.21.2
Target Fix4.22
Fix Commit5274217
Main Commit5274220
Release Commit5274217
CreatedFeb 22, 2019
ResolvedMar 2, 2019
UpdatedMar 23, 2019
View Jira Issue