Description

This is a regular crash that has occurred through 4.16 and into the 4.17 previews.

The callstack is similar to UE-42053 (invalid), although the error message is different.

User Descriptions

  • enabling vizualize dfao
  • when UE is not in focus, it stays open. But when i click on UE window, it immidiately closes. From what I can see by peeking at it, skylight doesnt light the scene. There are only 2 lights in the scene. One is directional and the said skylight. And I'm using distance field.
  • Creating a Terrain using a heightmap file, Modified the scale and the quads, Pressed Import and Crashed

Source Context

  367       				//@todo - fix
  368       				OutMaterialRenderProxy = Mesh.MaterialRenderProxy;
  369       
  370       				FDrawingPolicyRenderState DrawRenderState(View);
  371       
  372       				DrawingPolicy.SetupPipelineState(DrawRenderState, View);
  373       				CommitGraphicsPipelineState(RHICmdList, DrawingPolicy, DrawRenderState, DrawingPolicy.GetBoundShaderStateInput(View.GetFeatureLevel()));
  374       				DrawingPolicy.SetSharedState(RHICmdList, DrawRenderState, &View, FConvertToUniformMeshDrawingPolicy::ContextDataType());
  375       
  376       				for (int32 BatchElementIndex = 0; BatchElementIndex < Mesh.Elements.Num(); BatchElementIndex++)
  377       				{
  378       					//@todo - fix
  379 ***** 					OutPrimitiveUniformBuffer = IsValidRef(Mesh.Elements[BatchElementIndex].PrimitiveUniformBuffer) 
  380       						? Mesh.Elements[BatchElementIndex].PrimitiveUniformBuffer
  381       						: *Mesh.Elements[BatchElementIndex].PrimitiveUniformBufferResource;
  382       
  383       					DrawingPolicy.SetMeshRenderState(RHICmdList, View, PrimitiveSceneProxy, Mesh, BatchElementIndex, DrawRenderState, FConvertToUniformMeshDrawingPolicy::ElementDataType(), FConvertToUniformMeshDrawingPolicy::ContextDataType());
  384       					DrawingPolicy.DrawMesh(RHICmdList, Mesh, BatchElementIndex);
  385       				}
Steps to Reproduce

repro steps currently unknown

Callstack
Assertion failed: UniformBufferRHI.GetReference() [File:D:\Build\++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\RenderCore\Public\UniformBuffer.h] [Line: 84]

UE4Editor_Renderer!FUniformMeshConverter::Convert() [converttouniformmesh.cpp:380]
UE4Editor_Renderer!GenerateSurfelRepresentation() [surfeltree.cpp:301]
UE4Editor_Renderer!ProcessPrimitiveUpdate() [distancefieldobjectmanagement.cpp:800]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::UpdateGlobalDistanceFieldObjectBuffers() [distancefieldobjectmanagement.cpp:1110]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() [deferredshadingrenderer.cpp:605]
UE4Editor_Renderer!RenderViewFamily_RenderThread() [scenerendering.cpp:1850]
UE4Editor_Renderer!TGraphTask<`FRendererModule::BeginRenderingViewFamily'::`26'::EURCMacro_FDrawSceneCommand>::ExecuteTask() [taskgraphinterfaces.h:784]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [taskgraph.cpp:650]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [taskgraph.cpp:559]
UE4Editor_RenderCore!RenderingThreadMain() [renderingthread.cpp:325]
UE4Editor_RenderCore!FRenderingThread::Run() [renderingthread.cpp:459]
UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:76]

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-48040 in the post.

0
Login to Vote

Fixed
ComponentRendering
Affects Versions4.164.174.18
Target Fix4.21
Fix Commit4439197
Main Commit4450599
Release Commit4439197
CreatedAug 3, 2017
ResolvedOct 10, 2018
UpdatedOct 11, 2018