Description

Error Message:
Assertion failed: (Index >= 0) & (Index < ArrayNum) [Link Removed] [Line: 785] Array index out of bounds: 1 from an array of size 0

Source Context:
567 }
568 }
569
570 void FMenuStack::DismissAll()
571

{ 572 const int32 TopLevel = 0; 573 DismissInternal(TopLevel); 574 }

575
576 void FMenuStack::DismissInternal(int32 FirstStackIndexToRemove)
577 {
578 // Dismiss the stack in reverse order so we destroy children before parents (causes focusing issues if done the other way around)
579 for (int32 StackIndex = Stack.Num() - 1; StackIndex >= FirstStackIndexToRemove; --StackIndex)
580

{ 581 ***** Stack[StackIndex]->Dismiss(); 582 }

583 }
584
585 void FMenuStack::SetHostWindow(TSharedPtr<SWindow> InWindow)
586 {
587 if (HostWindow != InWindow)
588 {
589 // If the host window is changing, remove the popup panel from the previous host
590 if (HostWindow.IsValid() && HostWindowPopupPanel.IsValid())
591

{ 592 HostWindow->RemoveOverlaySlot(HostWindowPopupPanel.ToSharedRef()); 593 HostWindowPopupPanel.Reset(); 594 }

595
596 HostWindow = InWindow;

Most Recent CL: 2934540 (4.11.1)
Logs:

  • [Link Removed]
  • [Link Removed]
  • [Link Removed]

Repro Steps: Unknown

User Descriptions:

  • I exported my project on shipping setting. After testing the exported project i returned to the editor to change something in a blueprint. I compiled and saved the blueprint, then i clicked the save button on the main window of the editor. I then clicked File > Package Project. After that the editor froze and the crash reporter appeared.
    I then typed in the crash reporter of the incident then wrote about me writing the report in the crash reporter about me writing the report.
  • after pressing cook android
  • file > package > windows 64 (source build)
Callstack
UE4Editor_Slate!FMenuStack::DismissInternal() [menustack.cpp:582]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [smenuentryblock.cpp:1025]
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [smenuentryblock.cpp:987]
UE4Editor_Slate!TMemberFunctionCaller<SMenuEntryBlock,FReply() [delegateinstanceinterface_variadics.h:161]
UE4Editor_Slate!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter_ExplicitReturnType<FReply,TMemberFunctionCaller<SMenuEntryBlock,FReply() [tuple.h:128]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl() [delegateinstancesimpl_variadics.inl:321]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [delegatesignatureimpl_variadics.inl:521]
UE4Editor_Slate!SButton::OnMouseButtonUp() [sbutton.cpp:273]
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() [smenuentryblock.cpp:385]
UE4Editor_Slate!<lambda_9ed539f2a96fd1ccd6d2214174cc7705>::operator() [slateapplication.cpp:4540]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_9ed539f2a96fd1ccd6d2214174cc7705> >() [slateapplication.cpp:214]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:4530]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:4947]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:4923]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1415]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:1732]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:697]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:619]
user32!<Unknown>
user32!<Unknown>
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:884]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:2610]
UE4Editor!GuardedMain() [launch.cpp:142]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:126]
UE4Editor!WinMain() [launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:264]
kernel32!<Unknown>
ntdll!<Unknown>

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 - Editor - UI Systems - Slate
Affects Versions4.11
Target Fix4.11.2
Fix Commit2944583
CreatedApr 15, 2016
ResolvedApr 22, 2016
UpdatedSep 16, 2019
View Jira Issue