Description

Error message:

Assertion failed: Mesh.VertexFactory->IsInitialized() [Link Removed] [Line: 45]

Source Context:

   32       // Keep a reference to the hit proxy from the FPrimitiveSceneInfo, to ensure it isn't deleted while the static mesh still
   33       // uses its id.
   34       PrimitiveSceneInfo->HitProxies.Add(HitProxy);
   35       }
   36       }
   37       }
   38       
   39       virtual void DrawMesh(const FMeshBatch& Mesh, float ScreenSize)
   40       {
   41       if (Mesh.GetNumPrimitives() > 0)
   42       {
   43       check(Mesh.VertexFactory);
   44       check(Mesh.VertexFactory->IsInitialized());
   45       #if DO_CHECK
   46 ***** Mesh.CheckUniformBuffers();
   47       #endif
   48       FStaticMesh* StaticMesh = new(PrimitiveSceneInfo->StaticMeshes) FStaticMesh(
   49       PrimitiveSceneInfo,
   50       Mesh,
   51       ScreenSize,
   52       CurrentHitProxy ? CurrentHitProxy->Id : FHitProxyId()
   53       );
   54       }
   55       }
   56       
   57       private:
   58       FPrimitiveSceneInfo* PrimitiveSceneInfo;
   59       TRefCountPtr<HHitProxy> CurrentHitProxy;
   60       };
   61       

Most recent user affected CL:
3224400 (4.14.1)

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

CrashReporter User Descriptions:

  • Undo: delete Constraint
  • migrating assets
  • UEQA MasonSeay - Selecting multiple actors while in mesh paint mode and repeatedly undoing-redoing
Steps to Reproduce

repro steps currently unknown

Callstack
UE4Editor_Renderer!FBatchingSPDI::DrawMesh() [primitivesceneinfo.cpp:47]
UE4Editor_Engine!FStaticMeshSceneProxy::DrawStaticElements() [staticmeshrender.cpp:757]
UE4Editor_Renderer!FPrimitiveSceneInfo::AddStaticMeshes() [primitivesceneinfo.cpp:144]
UE4Editor_Renderer!FPrimitiveSceneInfo::AddToScene() [primitivesceneinfo.cpp:189]
UE4Editor_Renderer!FScene::AddPrimitiveSceneInfo_RenderThread() [rendererscene.cpp:467]
UE4Editor_Renderer!`FScene::AddPrimitive'::`2'::EURCMacro_FAddPrimitiveCommand::DoTask() [rendererscene.cpp:705]
UE4Editor_Renderer!TGraphTask<`FScene::AddPrimitive'::`2'::EURCMacro_FAddPrimitiveCommand>::ExecuteTask() [taskgraphinterfaces.h:868]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [taskgraph.cpp:932]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [taskgraph.cpp:679]
UE4Editor_RenderCore!RenderingThreadMain() [renderingthread.cpp:320]
UE4Editor_RenderCore!FRenderingThread::Run() [renderingthread.cpp:454]
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-40138 in the post.

1
Login to Vote

Cannot Reproduce
ComponentUE - Graphics Features
Affects Versions4.114.124.134.144.154.164.174.184.194.204.214.224.21e2
CreatedJan 3, 2017
ResolvedJun 5, 2019
UpdatedJun 5, 2019
View Jira Issue