Description

This is a common and longstanding crash that has occurred since at least 4.9 and affected over 280 users.

User Descriptions

  • I added an item to a BP struct. Last time I did this (several months ago) it also crashed.
  • Set default value of string in Blueprint Struct.
  • I was adding element to an array in a structure.

Source Context

 371       	// Finds the breakpoint injection site(s) in bytecode if any were associated with the given node
  372       	void FindBreakpointInjectionSites(UEdGraphNode* Node, TArray<uint8*>& InstallSites) const
  373       	{
  374       		TArray<int32> RecordIndices;
  375       		DebugNodeIndexLookup.MultiFind(Node, RecordIndices, true);
  376       		for(int i = 0; i < RecordIndices.Num(); ++i)
  377       		{
  378       			const FNodeToCodeAssociation& Record = DebugNodeLineNumbers[RecordIndices[i]];
  379       			if (UFunction* Scope = Record.Scope.Get())
  380       			{
  381 ***** 				InstallSites.Add(&(Scope->Script[Record.Offset]));
  382       			}
  383       		}
  384       	}
Steps to Reproduce

repro steps currently unknown

Callstack
Assertion failed: (Index >= 0) & (Index < ArrayNum) 
[File:D:\Build\++UE4+Release-4.15+Compile\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 633] 
Array index out of bounds: 1176 from an array of size 0

UE4Editor_Engine!FBlueprintDebugData::FindBreakpointInjectionSites() [blueprintgeneratedclass.h:382]
UE4Editor_UnrealEd!FKismetDebugUtilities::GetBreakpointInstallationSites() [kismetdebugutilities.cpp:812]
UE4Editor_UnrealEd!FKismetDebugUtilities::IsBreakpointValid() [kismetdebugutilities.cpp:698]
UE4Editor_GraphEditor!SGraphNodeK2Base::GetOverlayBrushes() [sgraphnodek2base.cpp:385]
UE4Editor_GraphEditor!SGraphPanel::OnPaint() [sgraphpanel.cpp:270]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SOverlay::OnPaint() [soverlay.cpp:102]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:37]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_Slate!SBox::OnPaint() [sbox.cpp:237]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:37]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:37]
UE4Editor_Slate!SBorder::OnPaint() [sborder.cpp:86]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SOverlay::OnPaint() [soverlay.cpp:102]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [spanel.cpp:46]
UE4Editor_SlateCore!SPanel::OnPaint() [spanel.cpp:21]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:37]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [spanel.cpp:46]
UE4Editor_Slate!SSplitter::OnPaint() [ssplitter.cpp:167]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:37]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [spanel.cpp:46]
UE4Editor_Slate!SSplitter::OnPaint() [ssplitter.cpp:167]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SOverlay::OnPaint() [soverlay.cpp:102]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:37]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [spanel.cpp:46]
UE4Editor_SlateCore!SPanel::OnPaint() [spanel.cpp:21]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:37]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:37]
UE4Editor_Slate!SBorder::OnPaint() [sborder.cpp:86]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SOverlay::OnPaint() [soverlay.cpp:102]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [spanel.cpp:46]
UE4Editor_SlateCore!SPanel::OnPaint() [spanel.cpp:21]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:37]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [spanel.cpp:46]
UE4Editor_Slate!SSplitter::OnPaint() [ssplitter.cpp:167]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SOverlay::OnPaint() [soverlay.cpp:102]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:37]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [spanel.cpp:46]
UE4Editor_SlateCore!SPanel::OnPaint() [spanel.cpp:21]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [spanel.cpp:46]
UE4Editor_SlateCore!SPanel::OnPaint() [spanel.cpp:21]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:779]

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentGameplay - Blueprint
Affects Versions4.94.104.134.144.154.164.17
Target Fix4.17.24.18
Fix Commit3619064
CreatedAug 29, 2017
ResolvedAug 31, 2017
UpdatedApr 27, 2018