Developer Notes

DFGI is currently not a supported feature.

Description

I was able to open the level once and after a few seconds of being opened the editor crashed while compiling shaders and generating mesh distance fields.

Since then I have not been able to open the level at all before it crashes.

This was reproduced on a R9 390X.


This crash also reproduces in a default scene if you enable Ray Traced Distance Field Shadows in a directional light and PIE.

Steps to Reproduce
  1. Open the ConsoleVariables.ini located in (UE4\Engine\Config)
  2. Add r.DistanceFieldGI=1 under the startup section
  3. Save the .ini file.
  4. Open QAGame in the editor.
  5. Open the Project Settings in the Edit menu of the toolbar.
  6. In "Engine > Rendering" enable "Generate Mesh Distance Fields"
  7. Restart the editor when prompted.
  8. Open TM-LightingFeatures map

Expected Result: The level loads up and compiles shaders without error
Actual Result: As the level is compiling shaders and generating mesh distance fields the editor crashes

Callstack
UE4Editor_Renderer!FUniformMeshConverter::Convert() converttouniformmesh.cpp:370 
UE4Editor_Renderer!GenerateSurfelRepresentation() surfeltree.cpp:301 
UE4Editor_Renderer!ProcessPrimitiveUpdate() distancefieldobjectmanagement.cpp:796 
UE4Editor_Renderer!FDeferredShadingSceneRenderer::UpdateGlobalDistanceFieldObjectBuffers() distancefieldobjectmanagement.cpp:1099 
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() deferredshadingrenderer.cpp:624 
UE4Editor_Renderer!CaptureSceneToScratchCubemap() reflectionenvironmentcapture.cpp:852 
UE4Editor_Renderer!TGraphTask<`CaptureSceneIntoScratchCubemap'::`4'::EURCMacro_CaptureCommand>::ExecuteTask() taskgraphinterfaces.h:883 
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() taskgraph.cpp:954 
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() taskgraph.cpp:701 
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 to Questions & Answers just mention UE-40449 in the post.

3
Login to Vote

Won't Fix
ComponentUE - Graphics Features
Affects Versions4.15
Target Fix4.15
CreatedJan 11, 2017
ResolvedJan 17, 2017
UpdatedApr 27, 2018