Description

Error message:

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

Source Context:

 2797       
 2798       template <typename InElementType, typename Allocator> struct TIsTArray<               TArray<InElementType, Allocator>> { enum { Value = true }; };
 2799       template <typename InElementType, typename Allocator> struct TIsTArray<const          TArray<InElementType, Allocator>> { enum { Value = true }; };
 2800       template <typename InElementType, typename Allocator> struct TIsTArray<      volatile TArray<InElementType, Allocator>> { enum { Value = true }; };
 2801       template <typename InElementType, typename Allocator> struct TIsTArray<const volatile TArray<InElementType, Allocator>> { enum { Value = true }; };
 2802       
 2803       
 2804       //
 2805       // Array operator news.
 2806       //
 2807       template <typename T,typename Allocator> void* operator new( size_t Size, TArray<T,Allocator>& Array )
 2808       {
 2809       	check(Size == sizeof(T));
 2810       	const int32 Index = Array.AddUninitialized(1);
 2811 ***** 	return &Array[Index];
 2812       }
 2813       template <typename T,typename Allocator> void* operator new( size_t Size, TArray<T,Allocator>& Array, int32 Index )
 2814       {
 2815       	check(Size == sizeof(T));
 2816       	Array.InsertUninitialized(Index,1);
 2817       	return &Array[Index];
 2818       }
 2819       
 2820       /*-----------------------------------------------------------------------------
 2821       	MRU array.
 2822       -----------------------------------------------------------------------------*/
 2823       
 2824       /**
 2825        * Same as TArray except:
 2826        * - Has an upper limit of the number of items it will store.

Most recent user affected CL: 2992821

Logs:
[Link Removed]
[Link Removed]


CrashReporter User Descriptions:

  • EUS Matt.Williams - Running with FABRIK debug draw enabled
Steps to Reproduce

1. Download and open the attached project
2. PIE
3. Run around a bit

Result: Crash, appears related to FABRIK debugging being enabled
Expected: Plays as usual

Callstack
UE4Editor_Engine!operator new<FBatchedLine,FDefaultAllocator>() [array.h:2812]
UE4Editor_Engine!ULineBatchComponent::DrawLine() [linebatchcomponent.cpp:115]
UE4Editor_Engine!DrawDebugBox() [drawdebughelpers.cpp:107]
UE4Editor_AnimGraphRuntime!FAnimNode_Fabrik::EvaluateBoneTransforms() [animnode_fabrik.cpp:42]
UE4Editor_AnimGraphRuntime!FAnimNode_SkeletalControlBase::EvaluateComponentSpace() [animnode_skeletalcontrolbase.cpp:86]
UE4Editor_Engine!FComponentSpacePoseLink::EvaluateComponentSpace() [animnodebase.cpp:294]
UE4Editor_Engine!FAnimNode_ConvertComponentToLocalSpace::Evaluate() [animnodespaceconversions.cpp:35]
UE4Editor_Engine!FPoseLink::Evaluate() [animnodebase.cpp:236]
UE4Editor_Engine!FAnimInstanceProxy::EvaluateAnimation() [animinstanceproxy.cpp:701]
UE4Editor_Engine!UAnimInstance::ParallelEvaluateAnimation() [animinstance.cpp:528]
UE4Editor_Engine!USkeletalMeshComponent::EvaluateAnimation() [skeletalmeshcomponent.cpp:1069]
UE4Editor_Engine!USkeletalMeshComponent::PerformAnimationEvaluation() [skeletalmeshcomponent.cpp:1129]
UE4Editor_Engine!FParallelAnimationEvaluationTask::DoTask() [skeletalmeshcomponent.cpp:97]
UE4Editor_Engine!TGraphTask<FParallelAnimationEvaluationTask>::ExecuteTask() [taskgraphinterfaces.h:999]
UE4Editor_Core!FTaskThreadAnyThread::ProcessTasks() [taskgraph.cpp:1255]
UE4Editor_Core!FTaskThreadAnyThread::ProcessTasksUntilQuit() [taskgraph.cpp:1149]
UE4Editor_Core!FTaskThreadBase::Run() [taskgraph.cpp:621]
UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:74]

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

0
Login to Vote

Fixed
ComponentAnim - Animation
Affects Versions4.114.12
Target Fix4.13
Fix Commit3082274
Main Commit3092051
CreatedJun 2, 2016
ResolvedAug 9, 2016
UpdatedApr 27, 2018