Description

This is a longstanding but infrequent crash that has occurred since at least 4.16.1. Users have not provided any descriptions of their actions when the crash occurred.

The callstack closely matches to [Link Removed], but that had specific repro steps which were confirmed fixed in 4.17.

Source Context

1414       	// Show Sprite Categories
 1415       	{
 1416       		// Map 'Show All' and 'Hide All' commands
 1417       		OutCommandList.MapAction(
 1418       			FLevelViewportCommands::Get().ShowAllSprites,
 1419       			FExecuteAction::CreateSP( this, &SLevelViewport::OnToggleAllSpriteCategories, true ) );
 1420       
 1421       		OutCommandList.MapAction(
 1422       			FLevelViewportCommands::Get().HideAllSprites,
 1423       			FExecuteAction::CreateSP( this, &SLevelViewport::OnToggleAllSpriteCategories, false ) );
 1424       
 1425       		// Bind each show flag to the same delegate.  We use the delegate payload system to figure out what show flag we are dealing with
 1426       		for( int32 CategoryIndex = 0; CategoryIndex < GUnrealEd->SpriteIDToIndexMap.Num(); ++CategoryIndex )
 1427       		{
 1428 ***** 			OutCommandList.MapAction(
 1429       				FLevelViewportCommands::Get().ShowSpriteCommands[ CategoryIndex ].ShowMenuItem,
 1430       				FExecuteAction::CreateSP( this, &SLevelViewport::ToggleSpriteCategory, CategoryIndex ),
 1431       				FCanExecuteAction(),
 1432       				FIsActionChecked::CreateSP( this, &SLevelViewport::IsSpriteCategoryVisible, CategoryIndex ) );
 1433       		}
 1434       	}
Steps to Reproduce

repro steps currently unknown

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

UE4Editor_LevelEditor!SLevelViewport::BindShowCommands() [slevelviewport.cpp:1429]
UE4Editor_LevelEditor!SLevelViewport::BindCommands() [slevelviewport.cpp:1139]
UE4Editor_UnrealEd!SEditorViewport::Construct() [seditorviewport.cpp:92]
UE4Editor_LevelEditor!SLevelViewport::Construct() [slevelviewport.cpp:178]
UE4Editor_LevelEditor!TDecl<SLevelViewport,RequiredArgs::T0RequiredArgs>::operator<<=() [declarativesyntaxsupport.h:1091]
UE4Editor_LevelEditor!FLevelViewportLayoutEntity::FLevelViewportLayoutEntity() [levelviewportlayoutentity.cpp:11]
UE4Editor_LevelEditor!<lambda_e7eb8a8f5362b54fbe800efcf6558b52>::operator() [viewporttypedefinition.h:20]
UE4Editor_LevelEditor!Invoke<<lambda_e7eb8a8f5362b54fbe800efcf6558b52> & __ptr64,FViewportConstructionArgs const & __ptr64>() [invoke.h:45]
UE4Editor_LevelEditor!UE4Function_Private::TFunctionRefCaller<<lambda_e7eb8a8f5362b54fbe800efcf6558b52>,TSharedRef<IViewportLayoutEntity,0> __cdecl() [function.h:235]
UE4Editor_LevelEditor!UE4Function_Private::TFunctionRefBase<TFunction<TSharedRef<IViewportLayoutEntity,0> __cdecl() [function.h:283]
UE4Editor_LevelEditor!FLevelEditorModule::FactoryViewport() [leveleditor.cpp:560]
UE4Editor_LevelEditor!FLevelViewportLayout2x2::MakeViewportLayout() [levelviewportlayout2x2.cpp:68]
UE4Editor_LevelEditor!FLevelViewportLayout::BuildViewportLayout() [levelviewportlayout.cpp:193]
UE4Editor_LevelEditor!FLevelViewportTabContent::UpdateViewportTabWidget() [levelviewporttabcontent.cpp:158]
UE4Editor_LevelEditor!FLevelViewportTabContent::Initialize() [levelviewporttabcontent.cpp:61]
UE4Editor_LevelEditor!SLevelEditor::BuildViewportTab() [sleveleditor.cpp:860]
UE4Editor_LevelEditor!SLevelEditor::SpawnLevelEditorTab() [sleveleditor.cpp:578]
UE4Editor_LevelEditor!TMemberFunctionCaller<SLevelEditor,TSharedRef<SDockTab,0>() [delegateinstanceinterface.h:165]
UE4Editor_LevelEditor!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int,0,1>,FName,FString>::ApplyAfter<TMemberFunctionCaller<SLevelEditor,TSharedRef<SDockTab,0>() [tuple.h:422]
UE4Editor_LevelEditor!TBaseSPMethodDelegateInstance<0,SLevelEditor,0,TSharedRef<SDockTab,0> __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_Slate!TBaseDelegate<TSharedRef<SDockTab,0>,FSpawnTabArgs const & __ptr64>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_Slate!FTabManager::SpawnTab() [tabmanager.cpp:1414]
UE4Editor_Slate!FTabManager::RestoreArea_Helper() [tabmanager.cpp:1273]
UE4Editor_Slate!FTabManager::RestoreSplitterContent() [tabmanager.cpp:1388]
UE4Editor_Slate!FTabManager::RestoreArea_Helper() [tabmanager.cpp:1366]
UE4Editor_Slate!FTabManager::RestoreSplitterContent() [tabmanager.cpp:1388]
UE4Editor_Slate!FTabManager::RestoreArea_Helper() [tabmanager.cpp:1366]
UE4Editor_Slate!FTabManager::RestoreSplitterContent() [tabmanager.cpp:1388]
UE4Editor_Slate!FTabManager::RestoreArea_Helper() [tabmanager.cpp:1366]
UE4Editor_Slate!FTabManager::RestoreSplitterContent() [tabmanager.cpp:1388]
UE4Editor_Slate!FTabManager::RestoreArea_Helper() [tabmanager.cpp:1357]
UE4Editor_Slate!FTabManager::RestoreArea() [tabmanager.cpp:1249]
UE4Editor_Slate!FTabManager::RestoreFrom() [tabmanager.cpp:808]
UE4Editor_LevelEditor!SLevelEditor::RestoreContentArea() [sleveleditor.cpp:1212]
UE4Editor_LevelEditor!SLevelEditor::Initialize() [sleveleditor.cpp:176]
UE4Editor_LevelEditor!FLevelEditorModule::SpawnLevelEditor() [leveleditor.cpp:168]
UE4Editor_LevelEditor!TMemberFunctionCaller<FLevelEditorModule,TSharedRef<SDockTab,0>() [delegateinstanceinterface.h:165]
UE4Editor_LevelEditor!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<FLevelEditorModule,TSharedRef<SDockTab,0>() [tuple.h:497]
UE4Editor_LevelEditor!TBaseRawMethodDelegateInstance<0,FLevelEditorModule,TSharedRef<SDockTab,0> __cdecl() [delegateinstancesimpl.h:556]
UE4Editor_Slate!TBaseDelegate<TSharedRef<SDockTab,0>,FSpawnTabArgs const & __ptr64>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_Slate!FTabManager::SpawnTab() [tabmanager.cpp:1414]
UE4Editor_Slate!FTabManager::RestoreArea_Helper() [tabmanager.cpp:1273]
UE4Editor_Slate!FTabManager::RestoreSplitterContent() [tabmanager.cpp:1388]
UE4Editor_Slate!FTabManager::RestoreArea_Helper() [tabmanager.cpp:1357]
UE4Editor_Slate!FTabManager::RestoreArea() [tabmanager.cpp:1249]
UE4Editor_Slate!FTabManager::RestoreFrom() [tabmanager.cpp:808]
UE4Editor_MainFrame!FMainFrameModule::CreateDefaultMainFrame() [mainframemodule.cpp:206]
UE4Editor_UnrealEd!EditorInit() [unrealedglobals.cpp:124]
UE4Editor!GuardedMain() [launch.cpp:150]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

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

1
Login to Vote

Non-Issue
ComponentTools
Affects Versions4.164.174.18
CreatedNov 10, 2017
ResolvedNov 14, 2017
UpdatedApr 27, 2018
View Jira Issue