Steps to Reproduce
  1. create a blueprint Inherited from ActorComponent named BP_ActorComp, in BP_ActorComp add a string type property Named A, set default value "AAAAAA"
  2. create a blueprint Inherited from Actor named BP_Actor, add a BP_ActorComp in it and set the A property Value to "BBBBB" , compile and save
  3. change to BP_ActorComp, delete property A, compile the BP and crash
Callstack

> TArray<wchar_t,TSizedDefaultAllocator<32>>::AllocatorCalculateSlackReserve(int NewArrayMax) Line 2967 C++
TArray<wchar_t,TSizedDefaultAllocator<32>>::ResizeForCopy(int NewMax, int PrevMax) Line 3014 C++
TArray<wchar_t,TSizedDefaultAllocator<32>>::CopyToEmpty<wchar_t,int>(const wchar_t * OtherData, int OtherNum, int PrevMax) Line 3045 C++
FString::FString(const FString & __that) Line 110 C++
TProperty_WithEqualityAndSerializer<FString,FProperty>::Identical(const void * A, const void * B, unsigned int PortFlags) Line 1475 C++
UStruct::SerializeVersionedTaggedProperties(FStructuredArchiveSlot Slot, unsigned char * Data, UStruct * DefaultsStruct, unsigned char * Defaults, const UObject * BreakRecursionIfFullyLoad) Line 1590 C++
UStruct::SerializeTaggedProperties(FStructuredArchiveSlot Slot, unsigned char * Data, UStruct * DefaultsStruct, unsigned char * Defaults, const UObject * BreakRecursionIfFullyLoad) Line 1298 C++
UObject::SerializeScriptProperties(FStructuredArchiveSlot Slot) Line 1798 C++
UObject::Serialize(FStructuredArchiveRecord Record) Line 1618 C++
UObject::Serialize(FArchive & Ar) Line 1500 C++
UActorComponent::Serialize(FArchive & Ar) Line 2387 C++
FCPFUOWriter::FCPFUOWriter(UObject * SrcObject, UObject * DstObject, const UEngine::FCopyPropertiesForUnrelatedObjectsParams & Params) Line 16588 C++
UEngine::CopyPropertiesForUnrelatedObjects(UObject * OldObject, UObject * NewObject, UEngine::FCopyPropertiesForUnrelatedObjectsParams Params) Line 16790 C++
ReplaceObjectHelper(UObject * & OldObject, UClass * OldClass, UObject * & NewUObject, UClass * NewClass, TMap<UObject *,UObject *,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<UObject *,UObject *,0>> & OldToNewInstanceMap, TMap<UObject *,FName,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<UObject *,FName,0>> & OldToNewNameMap, int OldObjIndex, TArray<UObject *,TSizedDefaultAllocator<32>> & ObjectsToReplace, TArray<UObject *,TSizedDefaultAllocator<32>> & PotentialEditorsForRefreshing, TSet<AActor *,DefaultKeyFuncs<AActor *,0>,FDefaultSetAllocator> & OwnersToRerunConstructionScript, TFunctionRef<TArray<TObjectPtr<USceneComponent>,TSizedDefaultAllocator<32>> & __cdecl(USceneComponent *)> GetAttachChildrenArray, bool bIsComponent, bool bArchetypesAreUpToDate) Line 2023 C++
FBlueprintCompileReinstancer::ReplaceInstancesOfClass_Inner(const TMap<UClass *,UClass *,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<UClass *,UClass *,0>> & InOldToNewClassMap, const FReplaceInstancesOfClassParameters & Params) Line 2487 C++
FBlueprintCompileReinstancer::BatchReplaceInstancesOfClass(const TMap<UClass *,UClass *,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<UClass *,UClass *,0>> & InOldToNewClassMap, const FReplaceInstancesOfClassParameters & Params) Line 1671 C++
FBlueprintCompilationManagerImpl::FlushReinstancingQueueImpl(bool bFindAndReplaceCDOReferences) Line 1965 C++
FBlueprintCompilationManagerImpl::CompileSynchronouslyImpl(const FBPCompileRequestInternal & Request) Line 307 C++
FBlueprintCompilationManager::CompileSynchronously(const FBPCompileRequest & Request) Line 3616 C++
FKismetEditorUtilities::CompileBlueprint(UBlueprint * BlueprintObj, EBlueprintCompileOptions CompileFlags, FCompilerResultsLog * pResults) Line 785 C++
FBlueprintEditor::Compile() Line 4104 C++
TBaseSPMethodDelegateInstance<0,FBlueprintEditor,1,void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfSafe() Line 300 C++
TDelegate<void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfBound<void,0>() Line 536 C++
FUICommandList::ExecuteAction(const TSharedRef<FUICommandInfo const ,1> InUICommandInfo) Line 118 C++
SToolBarButtonBlock::OnClicked() Line 446 C++
UE::Core::Private::Tuple::TTupleBase<TIntegerSequence<unsigned int>>::ApplyAfter<FReply (__cdecl SToolBarButtonBlock::const &)(void),SToolBarButtonBlock * &>(FReply(SToolBarButtonBlock::)() & Func, SToolBarButtonBlock * & <Args_0>) Line 311 C++
TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,1,FReply __cdecl(void),FDefaultDelegateUserPolicy>::Execute() Line 281 C++
SButton::ExecuteOnClick() Line 465 C++
SButton::OnMouseButtonUp(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) Line 390 C++
FSlateApplication::RoutePointerUpEvent::__l8::<lambda_3>::operator()(const FArrangedWidget & TargetWidget, const FPointerEvent & Event) Line 5220 C++
FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,`FSlateApplication::RoutePointerUpEvent'::`8'::<lambda_3>>(FSlateApplication * ThisApplication, FEventRouter::FToLeafmostPolicy RoutingPolicy, FPointerEvent EventCopy, const FSlateApplication::RoutePointerUpEvent::__l8::<lambda_3> & Lambda, ESlateDebuggingInputEvent DebuggingInputEvent) Line 442 C++
FSlateApplication::RoutePointerUpEvent(const FWidgetPath & WidgetsUnderPointer, const FPointerEvent & PointerEvent) Line 5206 C++
FSlateApplication::ProcessMouseButtonUpEvent(const FPointerEvent & MouseEvent) Line 5775 C++
FSlateApplication::OnMouseUp(const EMouseButtons::Type Button, const UE::Math::TVector2<double> CursorPos) Line 5740 C++
FWindowsApplication::ProcessDeferredMessage(const FDeferredWindowsMessage & DeferredMessage) Line 2231 C++
FWindowsApplication::DeferMessage(TSharedPtr<FWindowsWindow,1> & NativeWindow, HWND__ * InHWnd, unsigned int InMessage, unsigned __int64 InWParam, __int64 InLParam, int MouseX, int MouseY, unsigned int RawInputFlags) Line 2738 C++
FWindowsApplication::ProcessMessage(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 1101 C++
WindowsApplication_WndProc(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 931 C++
FWindowsApplication::AppWndProc(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 937 C++
[External Code]
WinPumpMessages() Line 120 C++
FWindowsPlatformApplicationMisc::PumpMessages(bool bFromMainLoop) Line 151 C++
FEngineLoop::Tick() Line 5808 C++
EngineTick() Line 62 C++
GuardedMain(const wchar_t * CmdLine) Line 191 C++
LaunchWindowsStartup(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * __formal, int nCmdShow, const wchar_t * CmdLine) Line 247 C++
WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * pCmdLine, int nCmdShow) Line 298 C++
[External Code]

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint Compiler
Affects Versions5.1
Target Fix5.3
Fix Commit25899847
Main Commit25900042
CreatedJun 6, 2023
ResolvedJun 9, 2023
UpdatedJun 15, 2023