Description

Compiling a Blueprint that references a deleted Macro from a Custom Macro Library will crash the editor.

Crash Report:
[Link Removed]

This is a regression: did NOT occur in 4.8.3. Reproduced in 4.9.0 binary and Main (CL 2678421)

Steps to Reproduce

1. Open a new blank project
2. Create a new Blueprint Macro Library (Actor)
3. Save
4. Create a new Actor Blueprint
5. Call the macro from the Macro Library from the Event Graph
6. Compile/Save
7. Delete the macro in the Macro Library
8. Save
9. Compile the Actor BP

Result:
Crash

Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_Core!FText::FText() text.cpp:296 
UE4Editor_BlueprintGraph!UK2Node_MacroInstance::GetCompactNodeTitle() k2node_macroinstance.cpp:368 
UE4Editor_BlueprintGraph!UK2Node_MacroInstance::ShouldDrawCompact() k2node_macroinstance.cpp:373 
UE4Editor_GraphEditor!SGraphNodeK2Base::GetShadowBrush() sgraphnodek2base.cpp:513 
UE4Editor_GraphEditor!SGraphPanel::OnPaint() sgraphpanel.cpp:220 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SOverlay::OnPaint() soverlay.cpp:95 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_Slate!SBox::OnPaint() sbox.cpp:169 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_Slate!SBorder::OnPaint() sborder.cpp:94 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SOverlay::OnPaint() soverlay.cpp:95 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:39 
UE4Editor_SlateCore!SPanel::OnPaint() spanel.cpp:19 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:39 
UE4Editor_Slate!SSplitter::OnPaint() ssplitter.cpp:166 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:39 
UE4Editor_Slate!SSplitter::OnPaint() ssplitter.cpp:166 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SOverlay::OnPaint() soverlay.cpp:95 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:39 
UE4Editor_SlateCore!SPanel::OnPaint() spanel.cpp:19 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_Slate!SBorder::OnPaint() sborder.cpp:94 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SOverlay::OnPaint() soverlay.cpp:95 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:39 
UE4Editor_SlateCore!SPanel::OnPaint() spanel.cpp:19 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:39 
UE4Editor_Slate!SSplitter::OnPaint() ssplitter.cpp:166 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SOverlay::OnPaint() soverlay.cpp:95 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:25 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:39 
UE4Editor_SlateCore!SPanel::OnPaint() spanel.cpp:19 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:39 
UE4Editor_SlateCore!SPanel::OnPaint() spanel.cpp:19 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:703 

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.94.10
Target Fix4.10
Fix Commit2680816
Release Commit2704444
CreatedSep 3, 2015
ResolvedSep 4, 2015
UpdatedApr 27, 2018