When enabling Distance Fields for a project and adjusting the cvars to disable DFAO and set a lower Detail Mode will result in a crash.
Using the console commands outlined in the steps will work. Also setting r.DistanceFieldAO 0 and then adjusting the Scalability settings to lower then higher values will cause the crash as well.
[Link Removed]
1. Open UE4
2. Enable Mesh Distance Fields in the Project Settings
3. In the default scene set the Directional Light to Movable
4. In the Directional Lights Details panel enable RayTraced Shadows
5. Add a Sky Light actor and set it to Movable
6. Use console commands and enter the following:
Results: The editor will crash.
Expected: Shouldn't be a crash/
Unknown exception - code 00000001 (first/second chance not available)
"Assertion failed: !Scene->DistanceFieldSceneData.HasPendingOperations() [File[Image Removed]:\BuildFarm\buildmachine_++depot+UE4-Releases+4.10\Engine\Source\Runtime\Rendere
UE4Editor_Core!FDebug::AssertFailed() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\misc\outputdevice.cpp:374]
UE4Editor_Renderer!FProjectedShadowInfo::RenderRayTracedDistanceFieldProjection() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\renderer\private\distancefieldshadowing.cpp:783]
UE4Editor_Renderer!FProjectedShadowInfo::RenderProjection() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\renderer\private\shadowrendering.cpp:1993]
UE4Editor_Renderer!FSceneRenderer::RenderProjections() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\renderer\private\shadowrendering.cpp:2975]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderProjectedShadows() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\renderer\private\shadowrendering.cpp:3512]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderLights() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\renderer\private\lightrendering.cpp:585]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\renderer\private\deferredshadingrenderer.cpp:1145]
UE4Editor_Renderer!RenderViewFamily_RenderThread() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\renderer\private\scenerendering.cpp:1582]
UE4Editor_Renderer!TGraphTask<`FRendererModule::BeginRenderingViewFamily'::`20'::EURCMacro_FDrawSceneCommand>::ExecuteTask() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\public\async\taskgraphinterfaces.h:779]
UE4Editor_Core!FTaskThread::ProcessTasks() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\async\taskgraph.cpp:539]
UE4Editor_Core!FTaskThread::ProcessTasksUntilQuit() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\async\taskgraph.cpp:340]
UE4Editor_RenderCore!RenderingThreadMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\rendercore\private\renderingthread.cpp:310]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\rendercore\private\renderingthread.cpp:411]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:74]
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-26319 in the post.
0 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.10, 4.11, 4.12 |
Target Fix | 4.12 |
Created | Feb 2, 2016 |
---|---|
Resolved | May 16, 2016 |
Updated | May 2, 2018 |