Description

This Jira was created from CrashReports submitted by the public due to the high number of occurrences. Descriptions from users are provided below.

Error message:

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

Source Context:

  523       
  524       private:
  525       
  526       /** Returns true if any surfaces relevant to this component are selected (or hovered). */
  527       bool HasSelectedSurfaces() const
  528       {
  529       for (int32 ElementIndex = 0; ElementIndex < Elements.Num(); ElementIndex++)
  530       {
  531       const FModelElement& ModelElement = Component->GetElements()[ElementIndex];
  532       if (ModelElement.NumTriangles > 0)
  533       {
  534       for(int32 NodeIndex = 0;NodeIndex < ModelElement.Nodes.Num();NodeIndex++)
  535       {
  536       FBspNode& Node = Component->GetModel()->Nodes[ModelElement.Nodes[NodeIndex]];
  537 ***** FBspSurf& Surf = Component->GetModel()->Surfs[Node.iSurf];
  538       
  539       if (ShouldDrawSurface(Surf) && (Surf.PolyFlags & (PF_Selected | PF_Hovered)) != 0)
  540       {
  541       return true;
  542       }
  543       }
  544       }
  545       }
  546       return false;
  547       }
  548       
  549       UModelComponent* Component;
  550       
  551       class FElementInfo : public FLightCacheInterface
  552       {

Most recent user affected CL: 3106830

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

Steps to Reproduce

Unknown.

Callstack
UE4Editor_Engine!FModelSceneProxy::HasSelectedSurfaces() [modelrender.cpp:538]
UE4Editor_Engine!FModelSceneProxy::GetViewRelevance() [modelrender.cpp:454]
UE4Editor_Renderer!FRelevancePacket::ComputeRelevance() [scenevisibility.cpp:1443]
UE4Editor_Renderer!<lambda_f7d747f01b23b1e3f0ccf2f99e310776>::operator() [scenevisibility.cpp:1777]
UE4Editor_Renderer!ParallelFor() [parallelfor.h:167]
UE4Editor_Renderer!ComputeAndMarkRelevanceForViewParallel() [scenevisibility.cpp:1774]
UE4Editor_Renderer!FSceneRenderer::ComputeViewVisibility() [scenevisibility.cpp:2529]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::InitViews() [scenevisibility.cpp:2802]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() [deferredshadingrenderer.cpp:571]
UE4Editor_Renderer!RenderViewFamily_RenderThread() [scenerendering.cpp:1849]
UE4Editor_Renderer!TGraphTask<`FRendererModule::BeginRenderingViewFamily'::`21'::EURCMacro_FDrawSceneCommand>::ExecuteTask() [taskgraphinterfaces.h:868]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [taskgraph.cpp:932]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [taskgraph.cpp:679]
UE4Editor_RenderCore!RenderingThreadMain() [renderingthread.cpp:319]
UE4Editor_RenderCore!FRenderingThread::Run() [renderingthread.cpp:440]
UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:74]

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - LD & Modeling - Modeling Tools - BSP
Affects Versions4.13
Target Fix4.14
Fix Commit3156473
Main Commit3168049
Release Commit3168826
CreatedSep 21, 2016
ResolvedOct 10, 2016
UpdatedApr 27, 2018
View Jira Issue