Description

When the 'Show Friendly Variable Names' option is set to false in Editor preferences, attempting to create (once you press 'Enter' to accept the new Blueprint name) or open a Blueprint causes the editor to crash.

User's description: "If you turn off show friendly variable names any time you try to open a blueprint or animation blueprint the editor crashes"

Found in 4.21 Preview 1 CL# 4435822. Reproduced in 4.22 Main CL# 4457235

Unable to reproduce in 4.20.3 CL# 4369336. This is a regression.

Steps to Reproduce
  1. Open the editor
  2. Navigate to Editor Preference
  3. Disable the Show Friendly Variable Names option under the Appearance tab
  4. Create a new Actor Blueprint
  5. Press Enter or click in the Content Browser to accept the Blueprint's name

Result: Editor Crashes

Expected: Blueprint would be created successfully.

Callstack
Assertion failed: !InClass || (InClass->ClassWithin && InClass->ClassConstructor) [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 2331]

UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:422]
UE4Editor_CoreUObject!StaticAllocateObject() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2333]
UE4Editor_CoreUObject!UClass::CreateDefaultObject() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:3015]
UE4Editor_CoreUObject!UClass::GetDefaultObject() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\public\uobject\class.h:2432]
UE4Editor_Kismet!FTemporarilyUseFriendlyNodeTitles::ForceVisualizationCacheClear() [d:\build\++ue4\sync\engine\source\editor\kismet\private\findinblueprintmanager.cpp:262]
UE4Editor_Kismet!FFindInBlueprintSearchManager::GatherBlueprintSearchMetadata() [d:\build\++ue4\sync\engine\source\editor\kismet\private\findinblueprintmanager.cpp:1658]
UE4Editor_Kismet!FFindInBlueprintSearchManager::AddOrUpdateBlueprintSearchMetadata() [d:\build\++ue4\sync\engine\source\editor\kismet\private\findinblueprintmanager.cpp:1787]
UE4Editor_Kismet!FBlueprintCompilationManagerImpl::FlushCompilationQueueImpl() [d:\build\++ue4\sync\engine\source\editor\kismet\private\blueprintcompilationmanager.cpp:842]
UE4Editor_Kismet!FBlueprintCompilationManagerImpl::CompileSynchronouslyImpl() [d:\build\++ue4\sync\engine\source\editor\kismet\private\blueprintcompilationmanager.cpp:202]
UE4Editor_UnrealEd!FKismetEditorUtilities::CreateBlueprint() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\kismet2\kismet2.cpp:516]
UE4Editor_UnrealEd!UBlueprintFactory::FactoryCreateNew() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\factories\editorfactories.cpp:5999]
UE4Editor_AssetTools!UAssetToolsImpl::CreateAsset() [d:\build\++ue4\sync\engine\source\developer\assettools\private\assettools.cpp:472]
UE4Editor_ContentBrowser!SAssetView::CreateAssetFromTemporary() [d:\build\++ue4\sync\engine\source\editor\contentbrowser\private\sassetview.cpp:3736]
UE4Editor_ContentBrowser!SAssetView::AssetRenameCommit() [d:\build\++ue4\sync\engine\source\editor\contentbrowser\private\sassetview.cpp:4199]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,void __cdecl(TSharedPtr<FAssetViewItem,0> const & __ptr64,FString const & __ptr64,FSlateRect const & __ptr64,enum ETextCommit::Type)>::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:355]
UE4Editor_ContentBrowser!SAssetViewItem::HandleNameCommitted() [d:\build\++ue4\sync\engine\source\editor\contentbrowser\private\assetviewwidgets.cpp:559]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetTileItem,0,void __cdecl(FText const & __ptr64,enum ETextCommit::Type)>::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:355]
UE4Editor_Slate!SInlineEditableTextBlock::OnTextBoxCommitted() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\text\sinlineeditabletextblock.cpp:312]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SInlineEditableTextBlock,0,void __cdecl(FText const & __ptr64,enum ETextCommit::Type)>::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:355]
UE4Editor_Slate!FSlateEditableTextLayout::HandleFocusLost() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\text\slateeditabletextlayout.cpp:788]
UE4Editor_Slate!FSlateApplication::SetUserFocus() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:2940]
UE4Editor_Slate!FSlateApplication::RoutePointerDownEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5474]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonDownEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5377]
UE4Editor_Slate!FSlateApplication::OnMouseDown() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5295]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1807]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2249]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:897]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:734]
user32
user32
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:130]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3610]
UE4Editor!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:174]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
UE4Editor!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:276]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
kernel32
ntdll

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-65182 in the post.

2
Login to Vote

Fixed
ComponentGameplay
Affects Versions4.214.22
Target Fix4.21
Fix Commit4486633
Main Commit4551290
Release Commit4486633
CreatedOct 12, 2018
ResolvedOct 18, 2018
UpdatedNov 8, 2018