Developer Notes

Probably fixed in cl#2496754, no longer occurs in latest builds

Description

If a struct is give a button style as one of its variables and then that variable is in turn used to set the button style of a button widget the editor will crash when trying to save

Steps to Reproduce
  1. Download attached project
  2. Open project
  3. Open the widget "CrashTest"
  4. Go the the graph and create the setup shown in the attached picture
  5. Click Compile
  6. Click Save
  7. Notice the editor crashes
Callstack

Unknown exception - code 00000001 (first/second chance not available)

"Fatal error: [File[Image Removed]:\BuildFarm\buildmachine_++depot+UE4\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGloba

KERNELBASE
UE4Editor_Core!FOutputDeviceWindowsError::Serialize() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
UE4Editor_Core!FOutputDevice::Logf__VA() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\private\misc\outputdevice.cpp:144]
UE4Editor_Core!FDebug::AssertFailed() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\private\misc\outputdevice.cpp:360]
UE4Editor_CoreUObject!StaticFindObject() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:126]
UE4Editor_CoreUObject!UObjectPropertyBase::FindImportedObject() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\propertybaseobject.cpp:348]
UE4Editor_CoreUObject!UObjectPropertyBase::ParseObjectPropertyValue() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\propertybaseobject.cpp:250]
UE4Editor_CoreUObject!UObjectPropertyBase::ImportText_Internal() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\propertybaseobject.cpp:290]
UE4Editor_CoreUObject!UProperty::ImportText() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\public\uobject\unrealtype.h:330]
UE4Editor_CoreUObject!UProperty::ImportSingleProperty() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\property.cpp:1129]
UE4Editor_CoreUObject!UStructProperty::ImportText_Internal() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\propertystruct.cpp:350]
UE4Editor_CoreUObject!UProperty::ImportText() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\public\uobject\unrealtype.h:330]
UE4Editor_CoreUObject!UProperty::ImportSingleProperty() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\property.cpp:1129]
UE4Editor_CoreUObject!UStructProperty::ImportText_Internal() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\propertystruct.cpp:350]
UE4Editor_CoreUObject!UProperty::ImportText() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\public\uobject\unrealtype.h:330]
UE4Editor_UnrealEd!FBlueprintEditorUtils::PropertyValueFromString() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\editor\unrealed\private\kismet2\blueprinteditorutils.cpp:6779]
UE4Editor_UnrealEd!FStructureEditorUtils::Fill_MakeStructureDefaultValue() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\editor\unrealed\private\kismet2\structureeditorutils.cpp:436]
UE4Editor_Engine!UUserDefinedStruct::SerializeTaggedProperties() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\engine\private\userdefinedstruct.cpp:152]
UE4Editor_CoreUObject!UStructProperty::StaticSerializeItem() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\propertystruct.cpp:146]
UE4Editor_CoreUObject!UStructProperty::SerializeItem() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\propertystruct.cpp:161]
UE4Editor_CoreUObject!FPropertyTag::SerializeTaggedProperty() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\public\uobject\propertytag.h:145]
UE4Editor_CoreUObject!UStruct::SerializeTaggedProperties() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\class.cpp:1269]
UE4Editor_CoreUObject!UClass::SerializeDefaultObject() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\class.cpp:3187]
UE4Editor_CoreUObject!FArchiveSaveTagExports::ProcessTaggedObjects() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\savepackage.cpp:500]
UE4Editor_CoreUObject!FPackageExportTagger::TagPackageExports() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\savepackage.cpp:2155]
UE4Editor_CoreUObject!UPackage::SavePackage() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\coreuobject\private\uobject\savepackage.cpp:2607]
UE4Editor_UnrealEd!UEditorEngine::SavePackage() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\editor\unrealed\private\editor.cpp:4356]
UE4Editor_UnrealEd!UEditorEngine::Exec_Obj() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\editor\unrealed\private\editorserver.cpp:4224]
UE4Editor_UnrealEd!UEditorEngine::Exec() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\editor\unrealed\private\editorserver.cpp:5287]
UE4Editor_UnrealEd!UUnrealEdEngine::Exec() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\editor\unrealed\private\unrealedsrv.cpp:742]
UE4Editor_UnrealEd!InternalSavePackage() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\editor\unrealed\private\filehelpers.cpp:2447]
UE4Editor_UnrealEd!FEditorFileUtils::PromptForCheckoutAndSave() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\editor\unrealed\private\filehelpers.cpp:2971]
UE4Editor_UnrealEd!FAssetEditorToolkit::SaveAsset_Execute() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\editor\unrealed\private\toolkits\asseteditortoolkit.cpp:407]
UE4Editor_UnrealEd!TBaseSPMethodDelegateInstance<0,FAssetEditorToolkit,0,TTypeWrapper<void> __cdecl(void)>::Execute() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:282]
UE4Editor_UnrealEd!TBaseSPMethodDelegateInstance<0,FAssetEditorToolkit,0,void __cdecl(void)>::ExecuteIfSafe() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:388]
UE4Editor_Slate!FUICommandList::ExecuteAction() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\slate\private\framework\commands\uicommandlist.cpp:73]
UE4Editor_Slate!SToolBarButtonBlock::OnClicked() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\slate\private\framework\multibox\stoolbarbuttonblock.cpp:296]
UE4Editor_Slate!TMemberFunctionCaller<SToolBarButtonBlock,FReply (__cdecl SToolBarButtonBlock::*)(void) __ptr64>::operator()<>() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\public\delegates\delegateinstanceinterface_variadics.h:161]
UE4Editor_Slate!TTupleImpl<TIntegerSequence<> >::ApplyAfter_ExplicitReturnType<FReply,TMemberFunctionCaller<SToolBarButtonBlock,FReply (__cdecl SToolBarButtonBlock::*)(void) __ptr64> >() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\public\delegates\tuple.h:113]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,FReply __cdecl(void)>::Execute() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:282]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:440]
UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:225]
UE4Editor_Slate!<lambda_de96dc3471181973108233c6db1f9843>::operator()() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4149]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_de96dc3471181973108233c6db1f9843> >() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:210]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4152]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4112]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\private\windows\windowsapplication.cpp:1407]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\private\windows\windowsapplication.cpp:1712]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\private\windows\windowsapplication.cpp:707]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\private\windows\windowsapplication.cpp:629]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:785]
UE4Editor!FEngineLoop::Tick() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\launch\private\launchengineloop.cpp:2301]
UE4Editor!GuardedMain() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor!GuardedMainWrapper() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\launch\private\windows\launchwindows.cpp:249]

Have Comments or More Details?

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

0
Login to Vote

Cannot Reproduce
ComponentUE - Gameplay - Blueprint
Affects Versions4.7.24.8
Target Fix4.8
Fix Commit2496754
CreatedMar 17, 2015
ResolvedApr 1, 2015
UpdatedApr 27, 2018
View Jira Issue