Developer Notes

Won't fix. Suspected error is in user code. Please create an Answerhub bug report if you suspect this is an engine defect and have reproduction information.

Description

Error message:

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

Source Context:

  80       	}
   81       	else
   82       	{
   83       		UE_LOG(LogWindows, Error, TEXT("Error reentered: %s"), Msg );
   84       	}
   85       
   86       	if( GIsGuarded )
   87       	{
   88       		// Propagate error so structured exception handler can perform necessary work.
   89       #if PLATFORM_EXCEPTIONS_DISABLED
   90       		FPlatformMisc::DebugBreak();
   91       #endif
   92       		FPlatformMisc::RaiseException( 1 );
   93       	}
   94 ***** 	else
   95       	{
   96       		// We crashed outside the guarded code (e.g. appExit).
   97       		HandleError();
   98       		FPlatformMisc::RequestExit( true );
   99       	}
  100       }
  101       
  102       void FOutputDeviceWindowsError::HandleError()
  103       {
  104       	// make sure we don't report errors twice
  105       	static int32 CallCount = 0;
  106       	int32 NewCallCount = FPlatformAtomics::InterlockedIncrement(&CallCount);
  107       	if (NewCallCount != 1)
  108       	{
  109       		UE_LOG(LogWindows, Error, TEXT("HandleError re-entered.") );

Most recent user affected CL: 2872498

Logs:
[Link Removed]
[Link Removed]
[Link Removed]

CrashReporter User Descriptions:

  • i ve created MyBaseController in c++ based on PlayerController, then created blueprint based on MyBaseController
Steps to Reproduce

Repro steps unknown

Callstack
<unknown module>!UE4Editor_Core!FDebug::AssertFailed()

Have Comments or More Details?

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

0
Login to Vote

Won't Fix
ComponentUE - Foundation - Core
Affects Versions4.84.94.104.11
Target Fix4.12
CreatedMar 28, 2016
ResolvedJun 13, 2016
UpdatedFeb 5, 2017
View Jira Issue